aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-11-26 02:54:05 +0000
committerGuy Harris <guy@alum.mit.edu>2003-11-26 02:54:05 +0000
commitd792460eac3241ab0f75e877039fc3f5cb16b9fb (patch)
treee4913eed3ea3f12c267868e9914aa79846f206b1 /pcap-util.c
parentade7d05cdf3c9b089316c46e3c99c1fed4dfe44d (diff)
From Jaime Fournier: fix a typo.
svn path=/trunk/; revision=9093
Diffstat (limited to 'pcap-util.c')
-rw-r--r--pcap-util.c4
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) {