Skip to content
  • Lubomir Rintel's avatar
    libnm/vpn-service-plugin: remove nm_vpn_service_plugin_{get,set}_state() · fd61b217
    Lubomir Rintel authored
    The plugins set state only on failures and often forget to do that. Do the
    correct status transition to STOPPED in nm_vpn_service_plugin_failure() instead.
    
    The get_state() is only used to find out whether to fail or orderly disconnect
    depending on whether we're STARTING or already STARTED. Handle that in
    nm_vpn_service_plugin_disconnect() in a generic manner instead.
    fd61b217