mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 14:11:02 +00:00
Fix comment typo from bug #47485
tcp_close_shutdown_impl() should be tcp_close_shutdown_fin()
(cherry picked from commit 0b257f71e7
)
This commit is contained in:
parent
8927cda2f8
commit
4d1d567ab7
@ -295,7 +295,7 @@ tcp_close_shutdown(struct tcp_pcb *pcb, u8_t rst_on_unacked_data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* - states which free the pcb are handled here,
|
/* - states which free the pcb are handled here,
|
||||||
- states which send FIN and change state are handled in tcp_close_shutdown_impl() */
|
- states which send FIN and change state are handled in tcp_close_shutdown_fin() */
|
||||||
switch (pcb->state) {
|
switch (pcb->state) {
|
||||||
case CLOSED:
|
case CLOSED:
|
||||||
/* Closing a pcb in the CLOSED state might seem erroneous,
|
/* Closing a pcb in the CLOSED state might seem erroneous,
|
||||||
|
Loading…
Reference in New Issue
Block a user