From b0069d00e9ca6c9d90eb18267d0949527c0249e5 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Sat, 21 Mar 2009 21:56:23 +0000 Subject: Fix WITHOUT_IPV6=yes build. Reported by: Andrzej Tobola ato at iem.pw.edu.pl --- contrib/tcpdump/print-enc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib') diff --git a/contrib/tcpdump/print-enc.c b/contrib/tcpdump/print-enc.c index 9569534..9876d6d 100644 --- a/contrib/tcpdump/print-enc.c +++ b/contrib/tcpdump/print-enc.c @@ -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 } out: -- cgit v1.1