Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 296119 Details for
Bug 395031
net-analyzer/tcpdump-4.2.0 USE=-ipv6 - print-babel.c:(.text+0x1e): undefined reference to `ip6addr_string'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tcpdump-4.2.0-ipv6.patch
tcpdump-4.2.0-ipv6.patch (text/plain), 826 bytes, created by
Andrew Savchenko
on 2011-12-17 11:48:40 UTC
(
hide
)
Description:
tcpdump-4.2.0-ipv6.patch
Filename:
MIME Type:
Creator:
Andrew Savchenko
Created:
2011-12-17 11:48:40 UTC
Size:
826 bytes
patch
obsolete
>--- tcpdump-4.2.0/print-babel.c.orig 2011-07-25 00:58:55.000000000 +0400 >+++ tcpdump-4.2.0/print-babel.c 2011-12-17 15:40:58.355810559 +0400 >@@ -115,10 +115,14 @@ > format_prefix(const u_char *prefix, unsigned char plen) > { > static char buf[50]; >+#ifdef INET6 > if(plen >= 96 && memcmp(prefix, v4prefix, 12) == 0) >+#endif > snprintf(buf, 50, "%s/%u", ipaddr_string(prefix + 12), plen - 96); >+#ifdef INET6 > else > snprintf(buf, 50, "%s/%u", ip6addr_string(prefix), plen); >+#endif > buf[49] = '\0'; > return buf; > } >@@ -126,10 +130,14 @@ > static const char * > format_address(const u_char *prefix) > { >+#ifdef INET6 > if(memcmp(prefix, v4prefix, 12) == 0) >+#endif > return ipaddr_string(prefix + 12); >+#ifdef INET6 > else > return ip6addr_string(prefix); >+#endif > } > > static int
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 395031
:
296115
|
296117
| 296119