if min is greater than max, prefer max over min... I managed to get a
retransmit timer that was going to take 19 days to trigger... Reviewed by: silby
This commit is contained in:
parent
33fabe46da
commit
4dc630cdd2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162612
@ -133,7 +133,7 @@ static const char *tcptimers[] =
|
||||
(tv) = (value) + tcp_rexmit_slop; \
|
||||
if ((u_long)(tv) < (u_long)(tvmin)) \
|
||||
(tv) = (tvmin); \
|
||||
else if ((u_long)(tv) > (u_long)(tvmax)) \
|
||||
if ((u_long)(tv) > (u_long)(tvmax)) \
|
||||
(tv) = (tvmax); \
|
||||
} while(0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user