From 2ec3c46838ccf1647919d121008e4bebef80eaf4 Mon Sep 17 00:00:00 2001 From: jifl Date: Mon, 28 Jan 2008 15:30:06 +0000 Subject: [PATCH] Fix incorrect units in comment for TCP_MSL. Allow override. --- src/include/lwip/tcp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/lwip/tcp.h b/src/include/lwip/tcp.h index 149b66a5..883b0b83 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -184,7 +184,9 @@ void tcp_rexmit_rto (struct tcp_pcb *pcb); #define TCP_OOSEQ_TIMEOUT 6U /* x RTO */ -#define TCP_MSL 60000U /* The maximum segment lifetime in microseconds */ +#ifndef TCP_MSL +#define TCP_MSL 60000U /* The maximum segment lifetime in milliseconds */ +#endif /* Keepalive values, compliant with RFC 1122. Don't change this unless you know what you're doing */ #ifndef TCP_KEEPIDLE_DEFAULT