From: Roy Marples Date: Mon, 15 May 2017 16:43:31 +0000 (+0100) Subject: Only reboot activated user interfaces. X-Git-Tag: v7.0.0-rc2~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=804e27a004c6f71ba523c08ffb4380bcbcd0cd22;p=thirdparty%2Fdhcpcd.git Only reboot activated user interfaces. --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 0d7676cc..91c33948 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1133,7 +1133,7 @@ reconf_reboot(struct dhcpcd_ctx *ctx, int action, int argc, char **argv, int oi) } if (oi != argc && i == argc) continue; - if (ifp->active) { + if (ifp->active == IF_ACTIVE_USER) { if (action) if_reboot(ifp, argc, argv); else