diff --git a/FPEngine.cc b/FPEngine.cc index d362c7325..0845a8148 100644 --- a/FPEngine.cc +++ b/FPEngine.cc @@ -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; }