When a service was disconnected, its ipconfig data was cleared.
Re-read service ipconfig data before setting manual addresses.
Fixes BMC#17738
service = __connman_service_lookup_from_network(network);
+ __connman_service_read_ip4config(service);
+
ipconfig = __connman_service_get_ip4config(service);
set_configuration(network);
if (service == NULL)
return -EINVAL;
+ __connman_service_read_ip6config(service);
+
err = __connman_ipconfig_address_add(ipconfig_ipv6);
if (err < 0) {
connman_network_set_error(network,