summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-03-25 16:58:56 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-03-27 16:00:09 +0200
commitff0d2b9c6e427035d5fdf1d412b80892294b6ead (patch)
tree2a71eb67315aa108a475b6178bd7f60fb5056f1b /include
parentec3eca317f9431dd394f62942c9a23404b6cecfe (diff)
downloadconnman-ff0d2b9c6e427035d5fdf1d412b80892294b6ead.tar.gz
connman-ff0d2b9c6e427035d5fdf1d412b80892294b6ead.tar.bz2
connman-ff0d2b9c6e427035d5fdf1d412b80892294b6ead.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/provider.h2
1 files changed, 1 insertions, 1 deletions
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);