i don't think this is used at all anymore (#323)

This commit is contained in:
Ryan Huber 2020-10-29 20:43:50 -05:00 committed by GitHub
parent 5c23676a0f
commit 43a3988afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -64,7 +64,6 @@ type cachedPacket struct {
type packetCallback func(t NebulaMessageType, st NebulaMessageSubType, h *HostInfo, p, nb, out []byte) type packetCallback func(t NebulaMessageType, st NebulaMessageSubType, h *HostInfo, p, nb, out []byte)
type HostInfoDest struct { type HostInfoDest struct {
active bool
addr *udpAddr addr *udpAddr
//probes [ProbeLen]bool //probes [ProbeLen]bool
probeCounter int probeCounter int
@ -675,7 +674,6 @@ func NewHostInfoDest(addr *udpAddr) *HostInfoDest {
func (hid *HostInfoDest) MarshalJSON() ([]byte, error) { func (hid *HostInfoDest) MarshalJSON() ([]byte, error) {
return json.Marshal(m{ return json.Marshal(m{
"active": hid.active,
"address": hid.addr, "address": hid.addr,
"probe_count": hid.probeCounter, "probe_count": hid.probeCounter,
}) })