Fix test to capture all packets
All checks were successful
/ unit_test (push) Successful in 38s

This commit is contained in:
Daniele Lacamera 2024-12-15 17:12:09 +01:00
parent 80847e1d5d
commit 1e285bdd85

View file

@ -266,6 +266,8 @@ int main(int argc, char **argv)
/* Client side test */ /* Client side test */
test_femtotcp_echoclient(s); test_femtotcp_echoclient(s);
sleep(2);
sync();
system("killall tcpdump"); system("killall tcpdump");
return 0; return 0;
} }