diff --git a/fad-glifc.c b/fad-glifc.c index 17313aa..1c69e3e 100644 --- a/fad-glifc.c +++ b/fad-glifc.c @@ -34,7 +34,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/fad-glifc.c,v 1.5 2005-01-29 10:34:04 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/fad-glifc.c,v 1.6 2005-04-19 00:54:00 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -326,7 +326,7 @@ pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) * be treated like the entry for the real interface; * we do that by stripping off the ":" and the number. */ - p = strchr(ifrp->ifr_name, ':'); + p = strchr(ifrp->lifr_name, ':'); if (p != NULL) { /* * We have a ":"; is it followed by a number?