summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-03-05 14:06:18 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-03-08 11:09:27 (GMT)
commitc69888135aa864cd583d8e7cc8fb20599235bda1 (patch)
tree26f3b45bec385812b941030948d6f0cc688f7957 /plugins
parent37451c7ccab6a04214ef4671feb7b778c66868b1 (diff)
downloadconnman-c69888135aa864cd583d8e7cc8fb20599235bda1.zip
connman-c69888135aa864cd583d8e7cc8fb20599235bda1.tar.gz
connman-c69888135aa864cd583d8e7cc8fb20599235bda1.tar.bz2
vpn: Set immutable flag of the VPN service
Diffstat (limited to 'plugins')
-rw-r--r--plugins/vpn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index cffc559..cbba396 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -301,6 +301,7 @@ static int create_provider(struct connection_data *data, void *user_data)
err = connman_provider_create_service(data->provider);
if (err == 0) {
+ connman_provider_set_immutable(data->provider, data->immutable);
if (g_str_equal(data->state, "ready") == TRUE) {
connman_provider_set_index(data->provider,
data->index);