diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pacrunner.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/pacrunner.c b/plugins/pacrunner.c index f914eeb0..14d04ced 100644 --- a/plugins/pacrunner.c +++ b/plugins/pacrunner.c @@ -178,10 +178,11 @@ static void create_proxy_configuration(void) connman_dbus_dict_append_array(&dict, "Domains", DBUS_TYPE_STRING, append_string, &str); - str = connman_service_get_nameserver(default_service); - if (str != NULL) + str_list = connman_service_get_nameservers(default_service); + if (str_list != NULL) connman_dbus_dict_append_array(&dict, "Nameservers", - DBUS_TYPE_STRING, append_string, &str); + DBUS_TYPE_STRING, append_string_list, + &str_list); connman_dbus_dict_close(&iter, &dict); |