]> Cypherpunks repositories - gostls13.git/commit
net: fix inconsistent error values on Interface
authorMikio Hara <mikioh.mikioh@gmail.com>
Sun, 19 Apr 2015 13:17:08 +0000 (22:17 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 21 Apr 2015 04:16:14 +0000 (04:16 +0000)
commit456cf0f22c93e1a6654980f4a48a564555f6c8a2
tree97bae5b777e64627aa33d05914759e95abbc6695
parent2173a27903897c481b0a0daf3ca3e0a0685701db
net: fix inconsistent error values on Interface

This change fixes inconsistent error values on Interfaces,
InterfaceAddrs, InterfaceBy{Index,Name}, and Addrs and MulticastAddrs
methods of Interface.

Updates #4856.

Change-Id: I09e65522a22f45c641792d774ebf7a0081b874ad
Reviewed-on: https://go-review.googlesource.com/9140
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/interface.go
src/net/interface_bsd.go
src/net/interface_darwin.go
src/net/interface_freebsd.go
src/net/interface_linux.go
src/net/interface_windows.go