tcp: use tcp_ack_now rather than manually setting TF_ACK_NOW

This commit is contained in:
Joel Cunningham
2017-08-09 10:13:41 -05:00
parent 90873d6c71
commit ba7a3204cb
3 changed files with 3 additions and 3 deletions

View File

@@ -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; \