This commit is contained in:
crusader 2018-09-12 11:02:42 +09:00
parent 725389f033
commit dda8cb4af8

View File

@ -21,11 +21,12 @@ type Zone struct {
mtx sync.RWMutex `json:"-"` 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{ return &Zone{
Iface: iface,
Mac: mac,
MetaIPType: metaIPType, MetaIPType: metaIPType,
Network: network, Network: network,
Iface: iface,
Address: address, Address: address,
} }
} }