tcpdump mailing list archives
Re: [PATCH] fix `--disable-ipv6' compilation in tcpdump-4.0.0
From: Guy Harris <guy () alum mit edu>
Date: Sat, 5 Dec 2009 12:34:14 -0800
On Dec 3, 2009, at 3:50 AM, Nikita Izyumtsev wrote:
Hello everybody! I have found issue in tcpdump-4.0.0 with --disable-ipv6 compilation. I'm sending patch for tcpdump-4.0.0
There wasn't a patch attached to your message.
because I can't (have not much time at the moment) figure out if the issue is present in git snapshot (print-enc.c isn't available).
print-enc.c isn't available in the Git snapshot? There's a change to print-enc.c in Git for that issue: Author: Peter Volkov <pva () gentoo org> Date: Fri Nov 7 13:23:26 2008 -0500tcpdump-4.0.0 fails to build with --disable-ipv6. Patch to fix the issue
is in attachment.$ git diff feac6b91d2e159a398de80bcd2aac7e27bdcd575 08293a774d3dc5e81a8bbd8265299f5ee6e27ede print-enc.c
diff --git a/print-enc.c b/print-enc.c index d96c6f2..0dc48fd 100644 --- a/print-enc.c +++ b/print-enc.c @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] _U_ =- "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.5 2008-02-06 10:30:59 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.6 2008-11-18 07:35:32 guy Exp $ (LBL)";
#endif #ifdef HAVE_CONFIG_H@@ -77,9 +77,11 @@ enc_if_print(const struct pcap_pkthdr *h, register const u_char *p)
case AF_INET: ip_print(gndo, p, length); break; +#ifdef INET6 case AF_INET6: ip6_print(p, length); break; +#endif /*INET6*/ } out: so the problem might be fixed there. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] fix `--disable-ipv6' compilation in tcpdump-4.0.0 Nikita Izyumtsev (Dec 05)
- Re: [PATCH] fix `--disable-ipv6' compilation in tcpdump-4.0.0 Guy Harris (Dec 05)