mirror of
https://github.com/nmap/nmap.git
synced 2026-06-09 17:22:26 +00:00
When a global ping times out, don't just destroy it, update timing too. Without
this, global pings never gave negative feedback, only positive feedback.
This commit is contained in:
parent
6998d72ccc
commit
da0b2c98c8
1 changed files with 2 additions and 1 deletions
|
|
@ -4808,7 +4808,8 @@ static void processData(UltraScanInfo *USI) {
|
|||
&& TIMEVAL_SUBTRACT(USI->now, (*probeI)->sent) > (long) pinghost->probeTimeout()) {
|
||||
if (o.debugging)
|
||||
log_write(LOG_STDOUT, "Destroying timed-out global ping from %s.\n", pinghost->target->targetipstr());
|
||||
pinghost->destroyOutstandingProbe(probeI);
|
||||
/* ultrascan_ping_update destroys the probe. */
|
||||
ultrascan_ping_update(USI, pinghost, probeI, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue