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:
Joel Cunningham 2017-02-13 11:25:05 -06:00 committed by goldsimon
parent 8927cda2f8
commit 4d1d567ab7

View File

@ -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 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) {
case CLOSED:
/* Closing a pcb in the CLOSED state might seem erroneous,