mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Add a symbolic constant for INITIAL_ARP_RTT_TIMEOUT.
This commit is contained in:
parent
c8106e0ef3
commit
fc9d35fed9
3 changed files with 3 additions and 2 deletions
|
|
@ -924,7 +924,7 @@ GroupScanStats::GroupScanStats(UltraScanInfo *UltraSI) {
|
|||
initialize_timeout_info(&to);
|
||||
/* Default timout should be much lower for arp */
|
||||
if (USI->ping_scan_arp)
|
||||
to.timeout = MAX(o.minRttTimeout(), MIN(o.initialRttTimeout(), 100)) * 1000;
|
||||
to.timeout = MAX(o.minRttTimeout(), MIN(o.initialRttTimeout(), INITIAL_ARP_RTT_TIMEOUT)) * 1000;
|
||||
num_probes_active = 0;
|
||||
numtargets = USI->numIncompleteHosts(); // They are all incomplete at the beginning
|
||||
numprobes = USI->numProbesPerHost();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue