diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2009-03-21 21:56:23 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2009-03-21 21:56:23 +0000 |
commit | b0069d00e9ca6c9d90eb18267d0949527c0249e5 (patch) | |
tree | 7ccb3312580b1eff8d18536bf2a578eb620ee548 | |
parent | 2f4a716c796f616c056ea47fc8cf75b11e297f03 (diff) | |
download | FreeBSD-src-b0069d00e9ca6c9d90eb18267d0949527c0249e5.zip FreeBSD-src-b0069d00e9ca6c9d90eb18267d0949527c0249e5.tar.gz |
Fix WITHOUT_IPV6=yes build.
Reported by: Andrzej Tobola ato at iem.pw.edu.pl
-rw-r--r-- | contrib/tcpdump/print-enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |