packages/net/tcpdump/patches/003-fix_ipv6_compile.patch
acinonyx b4922c6f09 [packages] tcpdump: Update to v4.0.0 (closes #5656)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-10 23:32:58 +00:00

15 lines
248 B
Diff

--- a/print-enc.c
+++ b/print-enc.c
@@ -77,9 +77,11 @@ enc_if_print(const struct pcap_pkthdr *h
case AF_INET:
ip_print(gndo, p, length);
break;
+#ifdef INET6
case AF_INET6:
ip6_print(p, length);
break;
+#endif /*INET6*/
}
out: