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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user