mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
tcp_remove_all() (used in tcp test setup/teardown): handle tcp_bound_pcbs, too
This commit is contained in:
parent
cf651e7e0f
commit
48c687ea84
@ -33,6 +33,7 @@ void
|
|||||||
tcp_remove_all(void)
|
tcp_remove_all(void)
|
||||||
{
|
{
|
||||||
tcp_remove(tcp_listen_pcbs.pcbs);
|
tcp_remove(tcp_listen_pcbs.pcbs);
|
||||||
|
tcp_remove(tcp_bound_pcbs);
|
||||||
tcp_remove(tcp_active_pcbs);
|
tcp_remove(tcp_active_pcbs);
|
||||||
tcp_remove(tcp_tw_pcbs);
|
tcp_remove(tcp_tw_pcbs);
|
||||||
fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0);
|
fail_unless(MEMP_STATS_GET(used, MEMP_TCP_PCB) == 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user