LWIP::Interface *interface = our_if_from_netif(netif);nsapi_connection_status_tconnectedStatusPrev = interface->connected;if(netif_is_up(&interface->netif) &&netif_is_link_up(&interface->netif)) {booldns_addr_has_to_be_added =false;if(!(interface->has_addr_state & HAS_ANY_ADDR) && L...