diff options
| author | Roy Marples <roy@marples.name> | 2015-09-12 13:53:58 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-09-12 13:53:58 +0000 |
| commit | 32860429a24c571cee9386129765cfbc14c89c09 (patch) | |
| tree | d95e971f47e6f795836a5cf0773e495d22cd71fa /if.c | |
| parent | 5cd73faeab6fb6533b2eb0dfdabf996e9d2da348 (diff) | |
| download | dhcpcd-32860429a24c571cee9386129765cfbc14c89c09.tar.xz | |
Remove some unreachable code.
Diffstat (limited to 'if.c')
| -rw-r--r-- | if.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -331,9 +331,11 @@ if_discover(struct dhcpcd_ctx *ctx, int argc, char * const *argv) if (ctx->ifac && i == ctx->ifac) continue; +#ifdef PLUGIN_DEV /* Ensure that the interface name has settled */ if (!dev_initialized(ctx, p)) continue; +#endif /* Don't allow loopback or pointopoint unless explicit */ if (ifa->ifa_flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) { |
