diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-11-24 14:10:34 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-11-24 14:13:13 +0100 |
commit | 743d372d72878219a229ee420e477958939aa1fb (patch) | |
tree | 2aba9a5334c135d482194b73222825ef7ee97144 /libnm/nm-vpn-service-plugin.c | |
parent | 7729d85c8c896de43ae1792d666dad5a102f8dfa (diff) |
libnm/vpn-service-plugin: transition to STOPPED state from INIT too
We may want to stop the plugin before we started connecting e.g. when the
plugin NeedsSecrets but we can't supply them.
Diffstat (limited to 'libnm/nm-vpn-service-plugin.c')
-rw-r--r-- | libnm/nm-vpn-service-plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnm/nm-vpn-service-plugin.c b/libnm/nm-vpn-service-plugin.c index b8f3cdcc2..91451ed0f 100644 --- a/libnm/nm-vpn-service-plugin.c +++ b/libnm/nm-vpn-service-plugin.c @@ -225,6 +225,7 @@ nm_vpn_service_plugin_disconnect (NMVpnServicePlugin *plugin, GError **err) break; case NM_VPN_SERVICE_STATE_INIT: ret = TRUE; + nm_vpn_service_plugin_set_state (plugin, NM_VPN_SERVICE_STATE_STOPPED); break; default: |