]> Cypherpunks repositories - gostls13.git/commit
net: relax IP interface address determination on linux
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 23 Jun 2015 12:40:33 +0000 (21:40 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Sat, 27 Jun 2015 00:39:30 +0000 (00:39 +0000)
commit258bf65d8b157bfe311ce70c93dd854022a25c9d
treebc248520f7297c884d21aee39d1af197b18d5735
parentaea348a3af088bc3bc05c5ee5cfc567215008f6f
net: relax IP interface address determination on linux

Linux allows to have a peer IP address on IP interface over ethernet
link encapsulation, though it only installs a static route with the peer
address as an on-link nexthop.

Fixes #11338.

Change-Id: Ie2583737e4c7cec39baabb89dd732463d3f10a61
Reviewed-on: https://go-review.googlesource.com/11352
Reviewed-by: Russ Cox <rsc@golang.org>
src/net/interface_bsd_test.go
src/net/interface_linux.go
src/net/interface_linux_test.go
src/net/interface_unix_test.go