mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Fixed the race condition where nping would print out an error after running. I removed the call to create a time since we don't really need a timer there.
This commit is contained in:
parent
381865f342
commit
5d541b08ca
1 changed files with 0 additions and 1 deletions
|
|
@ -472,7 +472,6 @@ int ProbeMode::start(){
|
|||
o.stats.stopTxClock();
|
||||
if(!o.disablePacketCapture()){
|
||||
nsock_pcap_read_packet(nsp, pcap_nsi, nping_event_handler, DEFAULT_WAIT_AFTER_PROBES, NULL);
|
||||
nsock_timer_create(nsp, nping_event_handler, DEFAULT_WAIT_AFTER_PROBES,NULL);
|
||||
loopret=nsock_loop(nsp, DEFAULT_WAIT_AFTER_PROBES);
|
||||
if (loopret == NSOCK_LOOP_ERROR)
|
||||
outFatal(QT_3, "Unexpected nsock_loop error.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue