summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-05-15 17:43:31 +0100
committerRoy Marples <roy@marples.name>2017-05-15 17:43:31 +0100
commit3cf33877235502a3998fae72d4a1ac657ceb815e (patch)
tree40d84104a8a97f87bde4cc5f07103cfd9bd54ce2 /src/dhcpcd.c
parenteb07222e57c959fdd5a359cc6e7fbb14d5bd922f (diff)
downloaddhcpcd-3cf33877235502a3998fae72d4a1ac657ceb815e.tar.xz
Only reboot activated user interfaces.
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
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