dect
/
libpcap
Archived
13
0
Fork 0

From Albert Chin: fix a cut-and-pasteo.

This commit is contained in:
guy 2005-04-19 00:54:00 +00:00
parent 0002aa6d52
commit b791874357
1 changed files with 2 additions and 2 deletions

View 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.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?