mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-18 07:30:43 +01:00
Pass correct manager
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2924 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
b7e5539b8c
commit
694278a5e9
1 changed files with 3 additions and 1 deletions
|
|
@ -130,10 +130,12 @@ impl_vpn_manager_connect (NMVPNManager *manager,
|
|||
NMDevice *device;
|
||||
NMConnection *connection = NULL;
|
||||
NMVPNConnection *vpn_connection = NULL;
|
||||
NMVPNManagerPrivate *priv;
|
||||
|
||||
*vpn_connection_path = NULL;
|
||||
|
||||
device = nm_manager_get_device_by_path (manager, device_path);
|
||||
priv = NM_VPN_MANAGER_GET_PRIVATE (manager);
|
||||
device = nm_manager_get_device_by_path (priv->nm_manager, device_path);
|
||||
if (!device) {
|
||||
*err = new_vpn_error ("%s.%d: No active device was found.",
|
||||
__FILE__, __LINE__);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue