From 666a3b68e9961a3d0016ba6c20386f9a6b2ba427 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 24 Nov 2025 16:11:00 -0300 Subject: [PATCH] update mip test --- test/mip_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mip_test.c b/test/mip_test.c index 7097b1d1..daba83f7 100644 --- a/test/mip_test.c +++ b/test/mip_test.c @@ -251,12 +251,14 @@ static void init_tests(struct mg_mgr *mgr, struct eth *e, struct ipp *ipp, #if MG_ENABLE_IPV6 if (ipp->ip6 != NULL) { mif->ip6[0] = 1; + mif->gw6[0] = 1; mif->state = MG_TCPIP_STATE_READY; // so DHCP stops mif->state6 = MG_TCPIP_STATE_READY; // so mg_send() works and RS stops } else #endif { mif->ip = 1; + mif->gw = 1; mif->mask = 255; // use router, to avoid firing an ARP request mif->state = MG_TCPIP_STATE_READY; // so mg_send() works and DHCP stops }