From f09eb813817bde95d08ae9a5cc194f7aab8b1d2c Mon Sep 17 00:00:00 2001 From: evgeny Date: Sun, 25 Oct 2026 18:24:07 +0100 Subject: [PATCH] Fix NAT stress test time helper on Windows --- tests/test_nat_stress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_nat_stress.c b/tests/test_nat_stress.c index ae8fe696..23b7da90 100644 --- a/tests/test_nat_stress.c +++ b/tests/test_nat_stress.c @@ -33,7 +33,7 @@ static struct { #define ASSERT_EQ(a,b,m) ASSERT((a)==(b),m) static double now_ms(void) { - struct timeval tv; gettimeofday(&tv, NULL); + struct timeval tv; utun_gettimeofday(&tv, NULL); return tv.tv_sec * 1000.0 + tv.tv_usec / 1000.0; }