mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-02 12:52:10 +00:00
MDNS: Fix accessing wrong union member in netif ext callback
This commit is contained in:
parent
3c9e05a6d9
commit
d7b51b5906
@ -1849,7 +1849,7 @@ mdns_netif_ext_status_callback(struct netif* netif, netif_nsc_reason_t reason, c
|
|||||||
/* TODO: send goodbye message */
|
/* TODO: send goodbye message */
|
||||||
break;
|
break;
|
||||||
case LWIP_NSC_LINK_CHANGED:
|
case LWIP_NSC_LINK_CHANGED:
|
||||||
if (args->status_changed.state != 0) {
|
if (args->link_changed.state != 0) {
|
||||||
mdns_resp_netif_settings_changed(netif);
|
mdns_resp_netif_settings_changed(netif);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user