On 9/28/18 11:57 AM, Slava Monich wrote:
On 28/09/18 10:56, Jussi Laakkonen wrote:
> This fix addresses the issue of not being able to connect a VPN if it
> has autoconnect set and connection is triggered by connmand. In such
> case dbus_sender is not set and call to Connect2 method of
> net.connman.vpn.Connection cannot be done.
> This amends changes of commit 3997c1595fe44d7c85215fd1cd89ecf778c62206.
> plugins/vpn.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
> diff --git a/plugins/vpn.c b/plugins/vpn.c
> index 3d067a49..5282cb0f 100644
> --- a/plugins/vpn.c
> +++ b/plugins/vpn.c
> @@ -546,15 +546,18 @@ static int connect_provider(struct
> connection_data *data, void *user_data,
> #define VPN_CONNECT2 "Connect2"
doc/vpn-connection-api.txt needs to be updated too, there's no Connect2
And the right place for VPN_CONNECT2 definition is vpn-dbus.h, next to
Yeah, sure, ignore this single patch. I'll make the changes introduced
here and send a patch set.