[BUGFIX] send_no_request

This commit is contained in:
Martin/Geno 2018-07-27 20:42:03 +02:00
parent cf8aeeeb78
commit b8792a2691
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 1 deletions

View File

@ -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)