NetworkManager/include
Jiří Klimeš 9dff830692 vpn: fix connecting to VPN (bgo #708255)
The ConnectInteractive() -> Connect() fallback code doesn't work, because
_connect_internal() changes the state to NM_VPN_SERVICE_STATE_STARTING before
checking if it can implement ConnectInteractive(), and then when the Connect()
call comes in, the VPN is not in STOPPED or INIT, so it returns an error.

The commit moves setting state to STARTING after the ConnectInteractive() check
availability, in the plugin. We introduce new plugin error and set it when the
the plugin does not implement ConnectInteractive(). NetworkManager uses this
error for ConnectInteractive() -> Connect() fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=708255
2013-09-27 13:26:09 +02:00
..
Makefile.am build: avoid GValueArray deprecation warnings 2013-02-26 13:07:33 +01:00
NetworkManager.h libnm-glib: change "Since: 0.9.10" to "Since: 0.9.8.6" for backported API 2013-09-11 14:10:55 -04:00
NetworkManagerVPN.h vpn: fix connecting to VPN (bgo #708255) 2013-09-27 13:26:09 +02:00
nm-dbus-glib-types.h libnm-util: add gateway member to IPv6 addresses 2010-04-17 10:26:53 -07:00
nm-glib-compat.h core: fix build with glib < 2.34 2013-04-03 13:11:31 -04:00
nm-gvaluearray-compat.h build: avoid GValueArray deprecation warnings 2013-02-26 13:07:33 +01:00
nm-settings-flags.h agents: add a "user-requested" flag to secret agent requests 2012-06-27 09:42:47 -05:00
nm-test-helpers.h test: whitespace cleanup 2009-05-09 23:58:13 -04:00
nm-version.h.in include: add NM_CHECK_VERSION define 2011-03-02 17:16:27 -06:00