1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Simplify boostScanDelay to make it clear what limits are in place.

This commit is contained in:
dmiller
2024-06-27 19:36:03 +00:00
parent eb21ac9ea0
commit f0fab247db
2 changed files with 11 additions and 7 deletions

View File

@@ -320,6 +320,7 @@ struct send_delay_nfo {
unsigned int goodRespSinceDelayChanged;
unsigned int droppedRespSinceDelayChanged;
struct timeval last_boost; /* Most recent time of increase to delayms. Init to creation time. */
int maxdelay;
};
/* To test for rate limiting, there is a delay in sending the first packet