ing
This commit is contained in:
@@ -16,5 +16,5 @@ type Port struct {
|
||||
PortType string `json:"portType,omitempty"`
|
||||
PortNumber int `json:"portNumber,omitempty"`
|
||||
|
||||
UDPLayer gopacket.Layer
|
||||
UDPLayer gopacket.Layer `json:"-"`
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@ type Zone struct {
|
||||
Iface string `json:"iface"`
|
||||
Mac string `json:"mac"`
|
||||
|
||||
hosts map[string]*Host
|
||||
mtx sync.RWMutex
|
||||
hosts map[string]*Host `json:"-"`
|
||||
mtx sync.RWMutex `json:"-"`
|
||||
}
|
||||
|
||||
func (z *Zone) AddHost(h *Host) {
|
||||
|
||||
Reference in New Issue
Block a user