mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Refine comment changed by last commit
This commit is contained in:
parent
112e370457
commit
f13b1340f2
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user