unbreak IPv6 and its tests

This commit is contained in:
Sergio R. Caprile committed 2026-06-03 10:38:49 -03:00
1 parent a59d89e393
commit 80b381a1c6
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ static void test_statechange(void) {
}
#if MG_ENABLE_IPV6
static void mif6_fn(struct mg_tcpip_if *ifp, int ev, void *ev_data) {
if (ev == MG_TCPIP_EV_STATE_CHANGE) {
if (ev == MG_TCPIP_EV_STATE6_CHANGE) {
ASSERT(*(uint8_t *) ev_data == MG_TCPIP_STATE_REQ);
executed = true;
}