Descriptionsyscall: fix IPv6 wrong network mask on latest FreeBSD
Looks like latest FreeBSD doesn't set address family identifer
for RTAX_NETMASK stuff; probably RTAX_GENMASK too, not confirmed.
This CL tries to identify address families by using the length of
each socket address if possible.
The issue is confirmed on FreeBSD 9.1.
Patch Set 1 #Patch Set 2 : diff -r 8b61a4ec6d1e https://code.google.com/p/go #Patch Set 3 : diff -r 8b61a4ec6d1e https://code.google.com/p/go #Patch Set 4 : diff -r 1169c3ec0059 https://code.google.com/p/go #
MessagesTotal messages: 4
|