mirror of
https://github.com/golang/go
synced 2024-11-24 00:20:14 -07:00
net: improve error message on Plan 9
This commit is contained in:
parent
fdad0e8764
commit
03f039d0ab
@ -159,7 +159,7 @@ func interfaceAddrTable(ifi *Interface) ([]Addr, error) {
|
||||
}
|
||||
line, ok := statusf.readLine()
|
||||
if !ok {
|
||||
return nil, errors.New("cannot parse IP address for interface: " + status)
|
||||
return nil, errors.New("cannot read IP address for interface: " + status)
|
||||
}
|
||||
|
||||
// This assumes only a single address for the interface.
|
||||
|
Loading…
Reference in New Issue
Block a user