blob: 117182e1fe175af37d70300592a5b9ece03724f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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:
|