diff --git a/discovery/Zone.go b/discovery/Zone.go index 6be8545..190d89e 100644 --- a/discovery/Zone.go +++ b/discovery/Zone.go @@ -21,11 +21,12 @@ type Zone struct { mtx sync.RWMutex `json:"-"` } -func NewZone(metaIPType *meta.MetaIPType, network string, iface string, address string) *Zone { +func NewZone(iface string, mac string, metaIPType *meta.MetaIPType, network string, address string) *Zone { return &Zone{ + Iface: iface, + Mac: mac, MetaIPType: metaIPType, Network: network, - Iface: iface, Address: address, } }