summaryrefslogtreecommitdiffstats
path: root/src/if.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-01-08 09:29:51 +0000
committerRoy Marples <roy@marples.name>2018-01-08 09:29:51 +0000
commit91b7caf81977df54a9a00fa7bf7541ee3e5ccc09 (patch)
tree256f7dc410d38c076cc18272836399baeb6da97c /src/if.c
parent9235a60191631fe31ee357fc3e2627a59ae8b319 (diff)
downloaddhcpcd-91b7caf81977df54a9a00fa7bf7541ee3e5ccc09.tar.xz
Remove no longer needed active check from prior commit.
Diffstat (limited to 'src/if.c')
-rw-r--r--src/if.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/if.c b/src/if.c
index 85535029..adeb6d92 100644
--- a/src/if.c
+++ b/src/if.c
@@ -533,9 +533,7 @@ if_discover(struct dhcpcd_ctx *ctx, struct ifaddrs **ifaddrs,
}
}
- if (active &&
- !(ctx->options & (DHCPCD_DUMPLEASE | DHCPCD_TEST)))
- {
+ if (!(ctx->options & (DHCPCD_DUMPLEASE | DHCPCD_TEST))) {
/* Handle any platform init for the interface */
if (active != IF_INACTIVE && if_init(ifp) == -1) {
logerr("%s: if_init", ifp->name);