Nmap Development mailing list archives

Re: s6_addr16 and s6_addr32 not available on Mac OS X


From: David Fifield <david () bamsoftware com>
Date: Sat, 21 Feb 2009 19:23:12 -0700

On Sat, Feb 21, 2009 at 12:15:47AM -0600, Kris Katterjohn wrote:
Corey Chandler wrote:
ncat_hostmatch.c: In function ‘addrset_elem_print’:
ncat_hostmatch.c:48: error: ‘struct in6_addr’ has no member named
‘s6_addr16’
<snip>
ncat_hostmatch.c: In function ‘make_ipv6_netmask’:
ncat_hostmatch.c:447: error: ‘struct in6_addr’ has no member named
‘s6_addr32’

Judging by RFC 2553, UNP and SUS, in6_addr{} only requires s6_addr.

Thanks for the reference Kris. I didn't know that the 16- and 32-bit
overlays were not available on all platforms. I rewrote the code to use
the 8-bit s6_addr only.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: