mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 17:13:49 +08:00
Fixed bug #46365: tcp_accept_null() should call tcp_abort()
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user