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/9140Reviewed-by:Ian Lance Taylor <iant@golang.org>
Showing
Please register or sign in to comment