manager: fix activating VPN connections

nm_manager_activate_connection() is also called for VPNs.

Fixes: 3e3d53ce69
This commit is contained in:
Beniamino Galvani 2018-04-19 15:29:06 +02:00
parent 164e6b9e6b
commit e732403a9b

View file

@ -4215,7 +4215,7 @@ nm_manager_activate_connection (NMManager *self,
}
active = _new_active_connection (self,
FALSE,
_connection_is_vpn (NM_CONNECTION (connection)),
NM_CONNECTION (connection),
applied,
specific_object,