diff options
Diffstat (limited to 'pcap-util.c')
-rw-r--r-- | pcap-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-util.c b/pcap-util.c index d9560c2268..0fd6f061c5 100644 --- a/pcap-util.c +++ b/pcap-util.c @@ -1,7 +1,7 @@ /* pcap-util.c * Utility routines for packet capture * - * $Id: pcap-util.c,v 1.21 2003/11/21 08:33:49 guy Exp $ + * $Id: pcap-util.c,v 1.22 2003/11/26 02:54:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -120,7 +120,7 @@ get_pcap_linktype(pcap_t *pch, char *devname */ ifacename = strchr(devname, '/'); if (ifacename == NULL) - ifacename = devnames; + ifacename = devname; /* See if it matches any of the LAN device names. */ if (strncmp(ifacename, "en", 2) == 0) { |