Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. [PATCH] vpn: Send D-Bus response when connecting for daemon-less setups
(Daniel Wagner)
----------------------------------------------------------------------
Date: Sun, 19 Apr 2020 20:53:11 +0200
From: Daniel Wagner <[email protected]>
Subject: [PATCH] vpn: Send D-Bus response when connecting for
daemon-less setups
To: [email protected]
Cc: Daniel Wagner <[email protected]>
Message-ID: <[email protected]>
Pass in the callback to the connect() call to allow the plugin to
trigger the D-Bus response when done.
ConnMan was complaining it didn't receive a reply for the Connect2
call.
---
vpn/plugins/vpn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vpn/plugins/vpn.c b/vpn/plugins/vpn.c
index e04670c85d13..30517a1153ab 100644
--- a/vpn/plugins/vpn.c
+++ b/vpn/plugins/vpn.c
@@ -632,7 +632,7 @@ static int vpn_connect(struct vpn_provider *provider,
vpn_driver_data->vpn_driver->flags &
VPN_FLAG_NO_DAEMON) {
ret = vpn_driver_data->vpn_driver->connect(provider,
- NULL, NULL, NULL, NULL, NULL);
+ NULL, NULL, cb, dbus_sender, user_data);
if (ret) {
stop_vpn(provider);
goto exist_err;
--
2.26.0
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 54, Issue 2
**************************************