diff options
Diffstat (limited to 'fad-glifc.c')
-rw-r--r-- | fad-glifc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fad-glifc.c b/fad-glifc.c index 00eccb5a..1a820ad9 100644 --- a/fad-glifc.c +++ b/fad-glifc.c @@ -203,8 +203,7 @@ pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) #endif /* - * Get the flags for this interface, and skip it if it's - * not up. + * Get the flags for this interface. */ strncpy(ifrflags.lifr_name, ifrp->lifr_name, sizeof(ifrflags.lifr_name)); @@ -219,8 +218,6 @@ pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) ret = -1; break; } - if (!(ifrflags.lifr_flags & IFF_UP)) - continue; /* * Get the netmask for this address on this interface. |