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:
Dan Williams 2011-10-25 12:59:35 -05:00
parent bd1648b214
commit 0ca8ba791f

View file

@ -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);