Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 453138 Details for
Bug 599598
net-analyzer/nmap-7.31: error: use of undeclared identifier 'RT_MSGHDR_ALIGNMENT'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nmap RT_MSGHDR_ALIGNMENT patch
nmap-7.31-RT_MSGHDR_ALIGNMENT.patch (text/plain), 941 bytes, created by
Emre Eryilmaz
on 2016-11-12 16:04:00 UTC
(
hide
)
Description:
nmap RT_MSGHDR_ALIGNMENT patch
Filename:
MIME Type:
Creator:
Emre Eryilmaz
Created:
2016-11-12 16:04:00 UTC
Size:
941 bytes
patch
obsolete
>--- libdnet-stripped/src/route-bsd.c.dist 2016-10-01 00:25:36.000000000 +0100 >+++ libdnet-stripped/src/route-bsd.c 2016-10-01 00:27:50.000000000 +0100 >@@ -47,6 +47,18 @@ > > #include "dnet.h" > >+/* Unix Network Programming, 3rd edition says that sockaddr structures in >+ rt_msghdr should be padded so their addresses start on a multiple of >+ sizeof(u_long). But on 64-bit Mac OS X 10.6 at least, this is false. Apple's >+ netstat code uses 4-byte padding, not 8-byte. This is relevant for IPv6 >+ addresses, for which sa_len == 28. >+ http://www.opensource.apple.com/source/network_cmds/network_cmds-329.2.2/netstat.tproj/route.c */ >+#ifdef __APPLE__ >+#define RT_MSGHDR_ALIGNMENT sizeof(uint32_t) >+#else >+#define RT_MSGHDR_ALIGNMENT sizeof(unsigned long) >+#endif >+ > #if defined(RT_ROUNDUP) && defined(__NetBSD__) > /* NetBSD defines this macro rounding to 64-bit boundaries. > http://fxr.watson.org/fxr/ident?v=NETBSD;i=RT_ROUNDUP */
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 599598
: 453138