diff options
| author | Roy Marples <roy@marples.name> | 2018-01-08 09:29:51 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-01-08 09:29:51 +0000 |
| commit | 91b7caf81977df54a9a00fa7bf7541ee3e5ccc09 (patch) | |
| tree | 256f7dc410d38c076cc18272836399baeb6da97c /src/if.c | |
| parent | 9235a60191631fe31ee357fc3e2627a59ae8b319 (diff) | |
| download | dhcpcd-91b7caf81977df54a9a00fa7bf7541ee3e5ccc09.tar.xz | |
Remove no longer needed active check from prior commit.
Diffstat (limited to 'src/if.c')
| -rw-r--r-- | src/if.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |
