mirror of
https://github.com/golang/go
synced 2024-11-23 21:50:08 -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