diff options
author | guy <guy> | 2008-11-18 07:35:32 +0000 |
---|---|---|
committer | guy <guy> | 2008-11-18 07:35:32 +0000 |
commit | 08293a774d3dc5e81a8bbd8265299f5ee6e27ede (patch) | |
tree | 1c713153f4c15c8a454c3ef09dd200853fa27167 /print-enc.c | |
parent | 3157c6dc2590772056a1a29b4812595273222e2a (diff) | |
download | tcpdump-08293a774d3dc5e81a8bbd8265299f5ee6e27ede.tar.gz |
Propagate from the git tree:
Author: Peter Volkov <pva@gentoo.org>
Date: Fri Nov 7 13:23:26 2008 -0500
tcpdump-4.0.0 fails to build with --disable-ipv6. Patch to fix the issue
is in attachment.
Diffstat (limited to 'print-enc.c')
-rw-r--r-- | print-enc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/print-enc.c b/print-enc.c index d96c6f26..0dc48fd7 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: |