Fixed bug #46365: tcp_accept_null() should call tcp_abort()

This commit is contained in:
goldsimon
2015-11-12 10:40:49 +01:00
parent c838e1ed5b
commit 92a241a29e
2 changed files with 10 additions and 0 deletions

View File

@@ -511,6 +511,8 @@ tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err)
LWIP_UNUSED_ARG(pcb);
LWIP_UNUSED_ARG(err);
tcp_abort(pcb);
return ERR_ABRT;
}
#endif /* LWIP_CALLBACK_API */