summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-08-05 22:27:19 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2010-08-05 22:27:19 (GMT)
commitcd388f18d9b315aa64843af42b163404d2ae81b4 (patch)
treea3a249e2bf012ffe6bbf3db8b367bc5ae7b2db41
parent4867a22ce4eaa9ab4144df927a1d3f1469695e42 (diff)
downloadconnman-cd388f18d9b315aa64843af42b163404d2ae81b4.zip
connman-cd388f18d9b315aa64843af42b163404d2ae81b4.tar.gz
connman-cd388f18d9b315aa64843af42b163404d2ae81b4.tar.bz2
Export the VPN PAC file to the VPN service
-rw-r--r--src/provider.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/provider.c b/src/provider.c
index 5b602ad..8783a30 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -586,6 +586,8 @@ int connman_provider_set_string(struct connman_provider *provider,
} else if (g_str_equal(key, "PAC") == TRUE) {
g_free(provider->element.ipv4.pac);
provider->element.ipv4.pac = g_strdup(value);
+ __connman_service_set_proxy_autoconfig(provider->vpn_service,
+ value);
} else if (g_str_equal(key, "DNS") == TRUE) {
g_free(provider->dns);
provider->dns = g_strdup(value);