mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-08 09:18:26 +02:00
vpn: ensure valid specific object when none was given at activation
If the caller passed "/" to indicate that NM should choose the default active connection as the parent of the VPN, make sure we pass that active connection's object path to the VPN for its specific object path instead of leaving it "/".
This commit is contained in:
parent
bd1648b214
commit
0ca8ba791f
1 changed files with 1 additions and 1 deletions
|
|
@ -1992,7 +1992,7 @@ nm_manager_activate_connection (NMManager *manager,
|
|||
vpn_connection = nm_vpn_manager_activate_connection (priv->vpn_manager,
|
||||
connection,
|
||||
device,
|
||||
specific_object,
|
||||
nm_act_request_get_active_connection_path (parent_req),
|
||||
TRUE,
|
||||
sender_uid,
|
||||
error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue