From: Roy Marples Date: Mon, 20 Apr 2009 19:40:09 +0000 (+0000) Subject: Only allow lo0 through allow X-Git-Tag: v5.0.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86c4061c5c4850802ab12b7df52bb10578db98b1;p=thirdparty%2Fdhcpcd.git Only allow lo0 through allow --- diff --git a/net.c b/net.c index b1c2753f..432398d1 100644 --- a/net.c +++ b/net.c @@ -321,7 +321,7 @@ discover_interfaces(int argc, char * const *argv) continue; /* Don't allow loopback unless explicit */ if (ifp->flags & IFF_LOOPBACK) { - if (argc == 0 && ifdc == 0) { + if (argc == 0 && ifac == 0) { free_interface(ifp); continue; }