ing
This commit is contained in:
@@ -52,9 +52,7 @@ func Scan(discoverySession session.DiscoverySession) error {
|
||||
}
|
||||
delay.Store(true)
|
||||
if h := handlePacketARP(zone, targetHosts, hosts, packet); nil != h {
|
||||
if h != nil {
|
||||
discoverySession.AddHost(h)
|
||||
}
|
||||
go discoverySession.AddHost(h)
|
||||
}
|
||||
case <-ticker.C:
|
||||
if false == delay.Load().(bool) {
|
||||
|
||||
Reference in New Issue
Block a user