rename ifp state change event

This commit is contained in:
Sergio R. Caprile committed 2026-05-29 10:45:41 -03:00
1 parent 0ecbb62630
commit c62f8b4e93
17 files changed
+73 -75

No files matched your search

+1 -1
View File
@@ -4294,7 +4294,7 @@ static void onstatechange(struct mg_tcpip_if *ifp) {
} else if (ifp->state == MG_TCPIP_STATE_DOWN) {
MG_ERROR(("Link down"));
}
mg_tcpip_call(ifp, MG_TCPIP_EV_ST_CHG, &ifp->state);
mg_tcpip_call(ifp, MG_TCPIP_EV_STATE_CHANGE, &ifp->state);
}
static struct ip *tx_ip(struct mg_tcpip_if *ifp, uint8_t *mac_dst,