From 0b257f71e7963a640d4c470f89cc3b9f72460c3f Mon Sep 17 00:00:00 2001 From: Joel Cunningham Date: Mon, 13 Feb 2017 11:25:05 -0600 Subject: [PATCH] Fix comment typo from bug #47485 tcp_close_shutdown_impl() should be tcp_close_shutdown_fin() --- src/core/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tcp.c b/src/core/tcp.c index c0bc3982..79c78394 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -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,