From f13b1340f207f4a078fb2575272263d460e537b0 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 20 Jun 2017 20:53:39 +0200 Subject: [PATCH] Refine comment changed by last commit --- src/core/tcp_out.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tcp_out.c b/src/core/tcp_out.c index 95065834..633b6c1b 100644 --- a/src/core/tcp_out.c +++ b/src/core/tcp_out.c @@ -836,8 +836,8 @@ tcp_enqueue_flags(struct tcp_pcb *pcb, u8_t flags) } #if LWIP_TCP_TIMESTAMPS if ((pcb->flags & TF_TIMESTAMP) || ((flags & TCP_SYN) && (pcb->state != SYN_RCVD))) { - /* The timestamp option is only included in SYN packets, - * and in data segments if we agreed about it with the remote host. */ + /* Make sure the timestamp option is only included in data segments if we + agreed about it with the remote host (and in active open SYN segments). */ optflags |= TF_SEG_OPTS_TS; } #endif /* LWIP_TCP_TIMESTAMPS */