tcp: use tcp_set_flags() rather than manually setting flag

This commit is contained in:
Joel Cunningham
2017-08-09 12:15:52 -05:00
parent ba7a3204cb
commit b8a3cf3a4a
4 changed files with 22 additions and 22 deletions

View File

@@ -449,7 +449,7 @@ struct tcp_seg *tcp_seg_copy(struct tcp_seg *seg);
tcp_ack_now(pcb); \
} \
else { \
(pcb)->flags |= TF_ACK_DELAY; \
tcp_set_flags(pcb, TF_ACK_DELAY); \
} \
} while (0)