From dda8cb4af8f65ac03d99ebef7728f90d69d912a9 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 12 Sep 2018 11:02:42 +0900 Subject: [PATCH] ing --- discovery/Zone.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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, } }