mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +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 */
|
||||
break;
|
||||
case LWIP_NSC_LINK_CHANGED:
|
||||
if (args->status_changed.state != 0) {
|
||||
if (args->link_changed.state != 0) {
|
||||
mdns_resp_netif_settings_changed(netif);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user