]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Only reboot activated user interfaces.
authorRoy Marples <roy@marples.name>
Mon, 15 May 2017 16:43:31 +0000 (17:43 +0100)
committerRoy Marples <roy@marples.name>
Mon, 15 May 2017 16:43:31 +0000 (17:43 +0100)
src/dhcpcd.c

index 0d7676cc7014d4acf954698a83b55470f6d48f93..91c339483b6c2402845e4940a2d20b22817104d6 100644 (file)
@@ -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