Ethereal-dev: [Ethereal-dev] Patch to pcap-util.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jaime Fournier <jafour1@xxxxxxxxx>
Date: Tue, 25 Nov 2003 16:10:43 -0800 (PST)
This looks like it is just a typo. 
But if for some reason this is suppose to be devnames,
instead of devname, let me know.




--- pcap-util.c       2003-11-25 13:09:25.000000000
-0600
+++ pcap-util.c 2003-11-25 13:09:33.000000000 -0600
@@ -120,7 +120,7 @@
         */
        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) {


=====
Jaime Fournier

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/