From 4e309b799250f0c6483f9fcd06939dc3056ad1d2 Mon Sep 17 00:00:00 2001 From: kieranm Date: Wed, 24 Nov 2004 17:04:34 +0000 Subject: [PATCH] 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 --- src/include/lwip/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/tcp.h b/src/include/lwip/tcp.h index e330ba48..b4bebc90 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -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;