Skip to content

Commit

Permalink
i don't think this is used at all anymore (slackhq#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawdigits authored Oct 30, 2020
1 parent 5c23676 commit 43a3988
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hostmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ type cachedPacket struct {
type packetCallback func(t NebulaMessageType, st NebulaMessageSubType, h *HostInfo, p, nb, out []byte)

type HostInfoDest struct {
active bool
addr *udpAddr
addr *udpAddr
//probes [ProbeLen]bool
probeCounter int
}
Expand Down Expand Up @@ -675,7 +674,6 @@ func NewHostInfoDest(addr *udpAddr) *HostInfoDest {

func (hid *HostInfoDest) MarshalJSON() ([]byte, error) {
return json.Marshal(m{
"active": hid.active,
"address": hid.addr,
"probe_count": hid.probeCounter,
})
Expand Down

0 comments on commit 43a3988

Please sign in to comment.