From 1e285bdd85af5a586883a87781bb41564da77442 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Sun, 15 Dec 2024 17:12:09 +0100 Subject: [PATCH] Fix test to capture all packets --- src/test/test_linux_dhcp_dns.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/test_linux_dhcp_dns.c b/src/test/test_linux_dhcp_dns.c index b7e92df..049a184 100644 --- a/src/test/test_linux_dhcp_dns.c +++ b/src/test/test_linux_dhcp_dns.c @@ -266,6 +266,8 @@ int main(int argc, char **argv) /* Client side test */ test_femtotcp_echoclient(s); + sleep(2); + sync(); system("killall tcpdump"); return 0; }