From 80cfb002f92c1b34d1b0b1bf96f89545d617c77a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 22 Nov 2024 15:54:25 +0100 Subject: [PATCH] test/unit: Fix test_ip4_frag Reset linkoutput_byte_ctr for this test case. --- test/unit/ip4/test_ip4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/ip4/test_ip4.c b/test/unit/ip4/test_ip4.c index af715daf..64ec1c4f 100644 --- a/test/unit/ip4/test_ip4.c +++ b/test/unit/ip4/test_ip4.c @@ -147,6 +147,7 @@ START_TEST(test_ip4_frag) LWIP_UNUSED_ARG(_i); linkoutput_ctr = 0; + linkoutput_byte_ctr = 0; /* Verify that 8000 byte payload is split into six packets */ fail_unless(data != NULL);