From: Roy Marples Date: Mon, 8 Jan 2018 09:29:51 +0000 (+0000) Subject: Remove no longer needed active check from prior commit. X-Git-Tag: v7.0.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8d3cd6a1fccea3d906872af8dc4eb0d63e3b4ec;p=thirdparty%2Fdhcpcd.git Remove no longer needed active check from prior commit. --- 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);