ing
This commit is contained in:
parent
725389f033
commit
dda8cb4af8
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user