diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-10-07 22:08:37 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-27 09:28:40 +0100 |
commit | 0575682552f5614d66cfa29deb70da0bba5e7d63 (patch) | |
tree | f545b2785ac296f82136bc78d1e57fe9b98bf304 /package/tcpdump/tcpdump-4.0.0-100-disable-ipv6.patch | |
parent | 434b007fce010a471c64164a3e22b13f4440159d (diff) | |
download | buildroot-novena-0575682552f5614d66cfa29deb70da0bba5e7d63.tar.gz buildroot-novena-0575682552f5614d66cfa29deb70da0bba5e7d63.zip |
libpcap, tcpdump: bump version and autotoolify
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/tcpdump/tcpdump-4.0.0-100-disable-ipv6.patch')
-rw-r--r-- | package/tcpdump/tcpdump-4.0.0-100-disable-ipv6.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/tcpdump/tcpdump-4.0.0-100-disable-ipv6.patch b/package/tcpdump/tcpdump-4.0.0-100-disable-ipv6.patch new file mode 100644 index 000000000..0df50cb07 --- /dev/null +++ b/package/tcpdump/tcpdump-4.0.0-100-disable-ipv6.patch @@ -0,0 +1,21 @@ +diff -rdup tcpdump-4.0.0.oorig/print-enc.c tcpdump-4.0.0/print-enc.c +--- tcpdump-4.0.0.oorig/print-enc.c 2008-09-01 04:44:22.000000000 +0200 ++++ tcpdump-4.0.0/print-enc.c 2009-10-07 21:21:41.000000000 +0200 +@@ -72,14 +72,16 @@ enc_if_print(const struct pcap_pkthdr *h + length -= ENC_HDRLEN; + caplen -= ENC_HDRLEN; + p += ENC_HDRLEN; +- ++ + switch (hdr->af) { + case AF_INET: + ip_print(gndo, p, length); + break; ++#ifdef INET6 + case AF_INET6: + ip6_print(p, length); + break; ++#endif /*INET6*/ + } + + out: |