if (ipconfig == NULL)
return;
+ __connman_6to4_remove(ipconfig);
+
__connman_service_set_domainname(service, NULL);
__connman_service_set_pac(service, NULL);
__connman_service_timeserver_remove(service, dhcp->timeserver);
if (ip_change == TRUE)
dhcp_valid(dhcp);
+ __connman_6to4_probe(service);
+
g_free(address);
g_free(netmask);
g_free(gateway);
void __connman_dhcp_stop(struct connman_network *network)
{
- struct connman_dhcp *dhcp;
-
DBG("");
- dhcp = g_hash_table_lookup(network_table, network);
- if (dhcp == NULL)
- return;
-
- dhcp_release(dhcp);
-
g_hash_table_remove(network_table, network);
}