Fix NAT stress test time helper on Windows

This commit is contained in:
evgeny committed 2026-10-25 18:24:07 +01:00
1 parent 59b3b9bd34
commit f09eb81381
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}