diff options
Diffstat (limited to 'contrib/libpcap/fad-gifc.c')
-rw-r--r-- | contrib/libpcap/fad-gifc.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/contrib/libpcap/fad-gifc.c b/contrib/libpcap/fad-gifc.c index d453518fd1a2..5c3357c7cea0 100644 --- a/contrib/libpcap/fad-gifc.c +++ b/contrib/libpcap/fad-gifc.c @@ -32,11 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/fad-gifc.c,v 1.12 2008-08-06 07:34:09 guy Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -242,8 +237,7 @@ pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) continue; /* - * Get the flags for this interface, and skip it if it's - * not up. + * Get the flags for this interface. */ strncpy(ifrflags.ifr_name, ifrp->ifr_name, sizeof(ifrflags.ifr_name)); @@ -258,8 +252,6 @@ pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) ret = -1; break; } - if (!(ifrflags.ifr_flags & IFF_UP)) - continue; /* * Get the netmask for this address on this interface. |