vpn: Set immutable flag of the VPN service
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Tue, 5 Mar 2013 14:06:18 +0000 (16:06 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 8 Mar 2013 11:09:27 +0000 (13:09 +0200)
plugins/vpn.c

index cffc559..cbba396 100644 (file)
@@ -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);