From: Roy Marples Date: Fri, 8 Jul 2016 19:44:18 +0000 (+0000) Subject: Apply command line options to profile. X-Git-Tag: v6.11.2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a3872e96f97dd3ff3b33ad98e0766f4d16091b9;p=thirdparty%2Fdhcpcd.git Apply command line options to profile. Fixes [87d9d6b583]. --- diff --git a/dhcpcd.c b/dhcpcd.c index 3041cf7f..d47a9ab8 100644 --- a/dhcpcd.c +++ b/dhcpcd.c @@ -582,8 +582,11 @@ dhcpcd_selectprofile(struct interface *ifp, const char *profile) free_options(ifp->options); ifp->options = ifo; - if (profile) + if (profile) { + add_options(ifp->ctx, ifp->name, ifp->options, + ifp->ctx->argc, ifp->ctx->argv); configure_interface1(ifp); + } return 1; }