diff --git a/net/nic.go b/net/nic.go index 4b14e05..1077481 100644 --- a/net/nic.go +++ b/net/nic.go @@ -5,9 +5,9 @@ import ( ) type Interface struct { - Iface string `json:"iface,omitempty"` - Mac string `json:"mac,omitempty"` - Addresses []InterfaceAddress `json:"addresses,omitempty"` + Iface string `json:"iface,omitempty"` + Mac string `json:"mac,omitempty"` + Addresses []*InterfaceAddress `json:"addresses,omitempty"` } type InterfaceAddress struct {