ing
This commit is contained in:
@@ -103,10 +103,8 @@ func sendARP(ps pcap.PCapScanner, zone *omd.Zone, targetHosts []net.IP) error {
|
||||
return err
|
||||
}
|
||||
|
||||
timer := time.NewTimer(time.Microsecond * 100)
|
||||
|
||||
select {
|
||||
case <-timer.C:
|
||||
case <-time.After(time.Microsecond * 100):
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user