mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-27 21:35:48 +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 LWIP_TCP_TIMESTAMPS
|
||||||
if ((pcb->flags & TF_TIMESTAMP) || ((flags & TCP_SYN) && (pcb->state != SYN_RCVD))) {
|
if ((pcb->flags & TF_TIMESTAMP) || ((flags & TCP_SYN) && (pcb->state != SYN_RCVD))) {
|
||||||
/* The timestamp option is only included in SYN packets,
|
/* Make sure the timestamp option is only included in data segments if we
|
||||||
* and in data segments if we agreed about it with the remote host. */
|
agreed about it with the remote host (and in active open SYN segments). */
|
||||||
optflags |= TF_SEG_OPTS_TS;
|
optflags |= TF_SEG_OPTS_TS;
|
||||||
}
|
}
|
||||||
#endif /* LWIP_TCP_TIMESTAMPS */
|
#endif /* LWIP_TCP_TIMESTAMPS */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user