summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-02-04 21:51:10 +0000
committerRoy Marples <roy@marples.name>2016-02-04 21:51:10 +0000
commit2fbd1900657fcbb0e5c8ab955ccf2b35c94f4f5c (patch)
treea775a62f0b2e35945d7ad3a8d440386f6a9736cb /dhcpcd.c
parent598e6cc727c427221a5041f5dcaa7e196b3ac4ce (diff)
downloaddhcpcd-2fbd1900657fcbb0e5c8ab955ccf2b35c94f4f5c.tar.xz
Fix activating a stopped interface.
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 28e4d0a0..6b227bfe 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -425,6 +425,7 @@ stop_interface(struct interface *ifp)
/* De-activate the interface */
ifp->active = IF_INACTIVE;
+ ifp->options->options &= ~DHCPCD_STOPPING;
stop:
if (!(ctx->options & (DHCPCD_MASTER | DHCPCD_TEST)))