commit | 262d6f58c78d53d2e85957075de0f817861cc23c | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.mikioh@gmail.com> | Wed Aug 07 00:25:23 2013 +0900 |
committer | Mikio Hara <mikioh.mikioh@gmail.com> | Wed Aug 07 00:25:23 2013 +0900 |
tree | fe1b7ea480508346a678212e6f775cf19ed09247 | |
parent | 7583c14be7a4d3c2289c536148bc65957c41f3fc [diff] |
syscall: 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. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12332043