1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 04:49:02 +00:00

Broaden the scope of a comment in scan_engine.cc: We don't adjust timing on

timeout of any non-ping probe, not just those with tryno == 0.
This commit is contained in:
david
2009-01-07 23:57:40 +00:00
parent 3c4f855e6d
commit 8ede562551

View File

@@ -2112,7 +2112,7 @@ static void ultrascan_adjust_timing(UltraScanInfo *USI, HostScanStats *hss,
if (hss->timing.cwnd > USI->perf.max_cwnd)
hss->timing.cwnd = USI->perf.max_cwnd;
}
/* If probe->tryno == 0 and rcvdtime == NULL, do nothing. */
/* If !probe->isPing() and rcvdtime == NULL, do nothing. */
/* If packet drops are particularly bad, enforce a delay between
packet sends (useful for cases such as UDP scan where responses