misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-09-09 12:39:44 +03:00
commit eba546bef6
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 2 additions and 17 deletions

View file

@ -110,9 +110,6 @@ func (p *Prober) Start() error {
} else if p.Session.Skip(ip) {
log.Debug("Skipping address %s from UDP probing.", ip)
continue
} else if p.Session.Lan.GetByIp(ip.String()) != nil {
log.Debug("Skipping address %s from UDP probing (already in the arp cache).", ip)
continue
}
p.sendProbe(from, from_hw, ip)