mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-14 20:26:49 +08:00
tcp: use tcp_ack_now rather than manually setting TF_ACK_NOW
This commit is contained in:
@@ -446,7 +446,7 @@ struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg);
|
||||
do { \
|
||||
if((pcb)->flags & TF_ACK_DELAY) { \
|
||||
tcp_clear_flags(pcb, TF_ACK_DELAY); \
|
||||
(pcb)->flags |= TF_ACK_NOW; \
|
||||
tcp_ack_now(pcb); \
|
||||
} \
|
||||
else { \
|
||||
(pcb)->flags |= TF_ACK_DELAY; \
|
||||
|
||||
Reference in New Issue
Block a user