From: Daniel Wagner <[email protected]>

route_vpn_gateway is not in all configuration setup
the peer address.
---
 plugins/openvpn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/openvpn.c b/plugins/openvpn.c
index 7cea4e6..ac36188 100644
--- a/plugins/openvpn.c
+++ b/plugins/openvpn.c
@@ -190,7 +190,7 @@ static int ov_notify(DBusMessage *msg, struct 
connman_provider *provider)
                if (!strcmp(key, "ifconfig_local"))
                        connman_provider_set_string(provider, "Address", value);
 
-               if (!strcmp(key, "route_vpn_gateway"))
+               if (!strcmp(key, "ifconfig_remote"))
                        connman_provider_set_string(provider, "Peer", value);
 
                if (g_str_has_prefix(key, "foreign_option_")) {
-- 
1.7.3.3

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to