summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/vpn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index 2f3d8607..77c41b03 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -513,6 +513,8 @@ static int connect_provider(struct connection_data *data, void *user_data)
DBG("data %p user %p path %s", data, cb_data, data->path);
+ data->connect_pending = FALSE;
+
message = dbus_message_new_method_call(VPN_SERVICE, data->path,
VPN_CONNECTION_INTERFACE,
VPN_CONNECT);