[BUGFIX] send_no_request
This commit is contained in:
parent
cf8aeeeb78
commit
b8792a2691
@ -182,7 +182,7 @@ func (coll *Collector) sendUnicasts(seenBefore jsontime.Time) {
|
||||
for _, node := range nodes {
|
||||
send := 0
|
||||
for _, conn := range coll.connections {
|
||||
if node.Address.Zone != "" && conn.Conn.LocalAddr().(*net.UDPAddr).Zone != node.Address.Zone {
|
||||
if node.Address.Zone != "" && conn.Conn.LocalAddr().(*net.UDPAddr).Zone != node.Address.Zone && conn.SendRequest {
|
||||
continue
|
||||
}
|
||||
coll.sendPacket(conn.Conn, node.Address.IP)
|
||||
|
Loading…
Reference in New Issue
Block a user