MDNS: Fix accessing wrong union member in netif ext callback

This commit is contained in:
Dirk Ziegelmeier 2017-02-15 14:38:57 +01:00
parent 3c9e05a6d9
commit d7b51b5906

View File

@ -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;