diff options
Diffstat (limited to 'patches/tcpdump-4.0.0/0001-Propagate-from-the-git-tree.patch')
-rw-r--r-- | patches/tcpdump-4.0.0/0001-Propagate-from-the-git-tree.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/patches/tcpdump-4.0.0/0001-Propagate-from-the-git-tree.patch b/patches/tcpdump-4.0.0/0001-Propagate-from-the-git-tree.patch new file mode 100644 index 000000000..117182e1f --- /dev/null +++ b/patches/tcpdump-4.0.0/0001-Propagate-from-the-git-tree.patch @@ -0,0 +1,35 @@ +From 08293a774d3dc5e81a8bbd8265299f5ee6e27ede Mon Sep 17 00:00:00 2001 +From: guy <guy> +Date: Tue, 18 Nov 2008 07:35:32 +0000 +Subject: [PATCH] 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. + +ported from tcpdump git-upstream + +Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> + +--- + print-enc.c | 2 ++ + 1 file changed, 2 insertions(+) + +Index: tcpdump-4.0.0/print-enc.c +=================================================================== +--- tcpdump-4.0.0.orig/print-enc.c ++++ tcpdump-4.0.0/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: |