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
@ -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