packages/net/tcpdump/patches/003-fix_ipv6_compile.patch

15 lines
248 B
Diff
Raw Normal View History

--- 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: