Kieran Mansley - kjm25@cam.ac.uk - 24th Nov 2004

* Changed pcb->rttest from u16_t to u32_t - comparisons with tcp_ticks (which is u32_t) were failing after 9 hours of operation
This commit is contained in:
kieranm 2004-11-24 17:04:34 +00:00
parent 64aa4c716d
commit 4e309b7992

View File

@ -254,7 +254,7 @@ struct tcp_pcb {
u16_t mss; /* maximum segment size */
/* RTT estimation variables. */
u16_t rttest; /* RTT estimate in 500ms ticks */
u32_t rttest; /* RTT estimate in 500ms ticks */
u32_t rtseq; /* sequence number being timed */
s16_t sa, sv;