mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 06:14:09 +00:00
Fix comment typo from bug #47485
tcp_close_shutdown_impl() should be tcp_close_shutdown_fin()
This commit is contained in:
parent
45f3c28eb2
commit
0b257f71e7
@ -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