This commit is contained in:
crusader
2018-09-01 22:09:33 +09:00
parent daadfb864d
commit 266ffdd674
15 changed files with 490 additions and 30 deletions

View File

@@ -59,7 +59,7 @@ func Scan(discoverySession session.DiscoverySession) error {
delay.Store(true)
if h := handlePacketARP(zone, targetHosts, hosts, packet); nil != h {
if h != nil {
log.Println(h)
discoverySession.AddHost(h)
}
// resultChan <- h