From 2bba9bcd9fc4585ffc4c0db46ecd34843b06bd85 Mon Sep 17 00:00:00 2001 From: jani Date: Fri, 10 Jan 2003 15:46:58 +0000 Subject: [PATCH] make rtime field u16_t like rto otherwise it won't catch rto if that goes beyond 255.When that happens there's trouble already since 255 ticks is over 2 minutes but still... --- 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 7b7aa17c..dcd75e30 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -217,7 +217,7 @@ struct tcp_pcb { u8_t polltmr, pollinterval; /* Retransmission timer. */ - u8_t rtime; + u16_t rtime; u16_t mss; /* maximum segment size */