This is needed for ofono when the modem sends fixed IP settings, along
with namesevers.
{
struct connman_service *service;
struct connman_ipconfig *ipconfig;
{
struct connman_service *service;
struct connman_ipconfig *ipconfig;
+ const char *nameserver = NULL;
int err;
DBG("network %p", network);
int err;
DBG("network %p", network);
+ connman_element_get_value(&network->element,
+ CONNMAN_PROPERTY_ID_IPV4_NAMESERVER, &nameserver);
+ if (nameserver != NULL)
+ __connman_service_append_nameserver(service, nameserver);
+
__connman_ipconfig_set_gateway(ipconfig, &network->element);
network->connecting = FALSE;
__connman_ipconfig_set_gateway(ipconfig, &network->element);
network->connecting = FALSE;