On 32-bit NetBSD, Addrs of net.Interface or net.InterfaceAddrs never return correct IPv6
interface addresses but 64-bit NetBSD is fine because,
1) I didn't noticed but NetBSD did a cleanup of 64-bit aligned access to routing
facilities
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/net/rtsock.c?rev=1.133&;content-type=text/x-cvsweb-markup&only_with_tag=MAIN
2) On 32-bit systems, sometimes they don't set address families correctly, still we see
AF_UNSPEC in sockaddrs, unlike the 64-bit systems
So, the fix should be;
- 64-bit alignment routing facility access on every NetBSD platforms
- find out and remark preferred address family
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: