diff options
| author | Roy Marples <roy@marples.name> | 2016-07-08 19:44:18 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-07-08 19:44:18 +0000 |
| commit | 8a3872e96f97dd3ff3b33ad98e0766f4d16091b9 (patch) | |
| tree | 44133efb6722369d8c1c52544dc0e86feb8d1bed /dhcpcd.c | |
| parent | 4dbfde2bc0bf353e58793a027364a4fd7bbcc87b (diff) | |
| download | dhcpcd-8a3872e96f97dd3ff3b33ad98e0766f4d16091b9.tar.xz | |
Apply command line options to profile.
Fixes [87d9d6b583].
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } |
