diff --git a/network.go b/network.go index f20350c..1e55ece 100644 --- a/network.go +++ b/network.go @@ -9,7 +9,7 @@ import ( type NetworkDevices []*NetworkDevice -func (c NetworkDevice) Get(index int) *NetworkDevice { +func (c NetworkDevices) Get(index int) *NetworkDevice { if len(c)-1 >= index { return c[index] }