From 213ebbef8eb4844441b7f7accbcbd7ecfdd12b3b Mon Sep 17 00:00:00 2001 From: susysandeman05 Date: Sat, 18 Jul 2026 22:48:13 -0600 Subject: [PATCH] fix(FPEngine): respect max-rtt-timeout in OS detection RTO calculation --- FPEngine.cc | 2 ++ 1 file changed, 2 insertions(+) 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; }