From d377fcaa7c3de0f105d65644244167ff81d93484 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 23 Mar 2009 07:43:31 +0000 Subject: We should not work with lo by default. --- if-linux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/if-linux.c b/if-linux.c index d3bb88e8..a2ecda36 100644 --- a/if-linux.c +++ b/if-linux.c @@ -563,8 +563,7 @@ discover_interfaces(int argc, char * const *argv) if ((ifp = init_interface(p))) { /* Don't allow loopback unless explicit */ if (ifp->flags & IFF_LOOPBACK && - argc == 0 && - ifdc == 0) + (argc != 0 || ifdc != 0)) { free_interface(ifp); continue; -- cgit v1.2.3