From ff0d2b9c6e427035d5fdf1d412b80892294b6ead Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Mon, 25 Mar 2013 16:58:56 +0200 Subject: provider: Set nameservers if we receive them from vpnd If we receive nameservers from vpnd we must set them in provider. The connman_provider_set_nameservers() function needs changes because we get the nameservers as an array, it makes no sense to convert the array to string and then back to array. --- include/provider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/provider.h') diff --git a/include/provider.h b/include/provider.h index fdd8ae0d..1f33552d 100644 --- a/include/provider.h +++ b/include/provider.h @@ -109,7 +109,7 @@ void connman_provider_put(struct connman_provider *provider); int connman_provider_set_domain(struct connman_provider *provider, const char *domain); int connman_provider_set_nameservers(struct connman_provider *provider, - const char *nameservers); + char * const *nameservers); int connman_provider_append_route(struct connman_provider *provider, const char *key, const char *value); -- cgit v1.2.3