On Wed, Jan 17, 2001 at 07:29:24AM -0500, Michael Richardson wrote:
...
> Please confirm that Guy's changes help, as I'd like to pull these changes
> up for a 3.6.2.
I just had to make this quick and dirty patch to libpcap :
$ diff -u libpcap-2001.01.17/nametoaddr.c.orig libpcap-2001.01.17/nametoaddr.c
--- libpcap-2001.01.17/nametoaddr.c.orig Mon Dec 18 04:45:34 2000
+++ libpcap-2001.01.17/nametoaddr.c Wed Jan 17 14:03:07 2001
@@ -40,7 +40,7 @@
struct rtentry;
#include <net/if.h>
#include <netinet/in.h>
-#include <netinet/if_ether.h>
+/* #include <netinet/if_ether.h> */
#include <arpa/inet.h>
#ifdef INET6
#include <netdb.h>
And this quick and dirty patch to tcpdump :
$ diff -u tcpdump-2001.01.17/addrtoname.c.orig tcpdump-2001.01.17/addrtoname.c
--- tcpdump-2001.01.17/addrtoname.c.orig Sat Oct 7 07:33:25 2000
+++ tcpdump-2001.01.17/addrtoname.c Wed Jan 17 14:14:49 2001
@@ -39,7 +39,7 @@
#include <net/if.h>
#include <netinet/in.h>
-#include <netinet/if_ether.h>
+/* #include <netinet/if_ether.h> */
#include <arpa/inet.h>
Other works fine, even the "-i any" option with tcpdump :-) Except that
"tcpdump -i any" doesn't put interfaces in promiscuous mode, is it a normal
behaviour ? The man page doesn't talk about that.
Tested under libc5 + 2.2.17 and libc5 + 2.4.0-test4.
Happy to see libc5 is supported again :-)
Denis Ducamp.
--
[EMAIL PROTECTED] --- Hervé Schauer Consultants --- http://www.hsc.fr/
snort, hping & dsniff en français : http://www.groar.org/~ducamp/#sec-trad
Du bon usage de ... http://usenet-fr.news.eu.org/fr-chartes/rfc1855.html
Netiquette Guidelines .... http://www.pasteur.fr/infosci/RFC/18xx/1855
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe