diff options
Diffstat (limited to 'libgo/go/net/interface_plan9.go')
-rw-r--r-- | libgo/go/net/interface_plan9.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgo/go/net/interface_plan9.go b/libgo/go/net/interface_plan9.go index 31bbaca..957975c 100644 --- a/libgo/go/net/interface_plan9.go +++ b/libgo/go/net/interface_plan9.go @@ -6,6 +6,7 @@ package net import ( "errors" + "internal/itoa" "os" ) @@ -38,8 +39,8 @@ func interfaceTable(ifindex int) ([]Interface, error) { func readInterface(i int) (*Interface, error) { ifc := &Interface{ - Index: i + 1, // Offset the index by one to suit the contract - Name: netdir + "/ipifc/" + itoa(i), // Name is the full path to the interface path in plan9 + Index: i + 1, // Offset the index by one to suit the contract + Name: netdir + "/ipifc/" + itoa.Itoa(i), // Name is the full path to the interface path in plan9 } ifcstat := ifc.Name + "/status" |