From 8ede562551747b2b64229750314747100711c1c1 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 7 Jan 2009 23:57:40 +0000 Subject: [PATCH] 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. --- scan_engine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scan_engine.cc b/scan_engine.cc index ba6100472..20697520e 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -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