diff options
| author | Khem Raj <raj.khem@gmail.com> | 2009-01-29 13:38:36 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2009-01-29 13:38:36 -0800 |
| commit | 4e083e8324315cc5dc3ff3e718f625805db35d63 (patch) | |
| tree | f6eb4cd77406f1205db747d9746a109692033610 /packages/tcpdump/files/no-ipv6-tcpdump4.patch | |
| parent | a0c371cbc502b0c7a78c4c9dc7906a70efbbb286 (diff) | |
| parent | 6a6d6bab519aefb44e3d49d305134057adf7539e (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/tcpdump/files/no-ipv6-tcpdump4.patch')
| -rw-r--r-- | packages/tcpdump/files/no-ipv6-tcpdump4.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/tcpdump/files/no-ipv6-tcpdump4.patch b/packages/tcpdump/files/no-ipv6-tcpdump4.patch new file mode 100644 index 0000000000..a399d0508f --- /dev/null +++ b/packages/tcpdump/files/no-ipv6-tcpdump4.patch @@ -0,0 +1,22 @@ +Compiling tcpdump 4.0.0 without ipv6 - linking against ipv6less +libpcap too - generates the following error: + +print-enc.o: In function `enc_if_print': +print-enc.c:(.text+0xce): undefined reference to `ip6_print' +collect2: ld returned 1 exit status +make: *** [tcpdump] Error 1 + +--- tcpdump/print-enc.c.orig 2008-09-01 04:44:22 +0200 ++++ tcpdump/print-enc.c 2008-11-11 14:48:00 +0100 +@@ -77,9 +77,11 @@ + case AF_INET: + ip_print(gndo, p, length); + break; ++#ifdef INET6 + case AF_INET6: + ip6_print(p, length); + break; ++#endif + } + + out: |
