mirror of
https://github.com/nmap/nmap.git
synced 2026-11-22 07:30:59 +00:00
Merge 213ebbef8e into c947f2dd1e
This commit is contained in:
commit
49e2bbaaf9
1 changed files with 2 additions and 0 deletions
|
|
@ -1424,6 +1424,8 @@ int FPHost::update_RTO(int measured_rtt_usecs, bool retransmission) {
|
|||
* low-latency networks (such as localhost scans). */
|
||||
if (this->rto < (MIN_RTT_TIMEOUT*1000))
|
||||
this->rto = (MIN_RTT_TIMEOUT*1000);
|
||||
if (this->rto > (o.maxRttTimeout()*1000))
|
||||
this->rto = (o.maxRttTimeout()*1000);
|
||||
return this->rto;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue