]> The Tcpdump Group git mirrors - libpcap/commitdiff
From Albert Chin: fix a cut-and-pasteo.
authorguy <guy>
Tue, 19 Apr 2005 00:54:16 +0000 (00:54 +0000)
committerguy <guy>
Tue, 19 Apr 2005 00:54:16 +0000 (00:54 +0000)
fad-glifc.c

index 17313aa37bc9615c5799fdad4df345fa654f6e49..135b67e6504ee9dc7ac2df1e4c6f1f08c60a4c21 100644 (file)
@@ -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.5.2.1 2005-04-19 00:54:16 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?