summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index d1309587..038d1a08 100644
--- a/src/service.c
+++ b/src/service.c
@@ -340,6 +340,8 @@ static void update_nameservers(struct connman_service *service)
service->nameservers[i]);
} else if (service->nameserver != NULL)
connman_resolver_append(ifname, NULL, service->nameserver);
+
+ connman_resolver_flush();
}
void __connman_service_append_nameserver(struct connman_service *service,