summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2010-12-17 15:52:04 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2010-12-21 01:35:07 +0100
commitf4150f238010f224b550bbb2f967a2ba092cae5a (patch)
treefd7e08024640af729cdd28c77676c22a2a6b4cd4
parent16df8f375026ff34697d4053814457fa101e9418 (diff)
downloadconnman-f4150f238010f224b550bbb2f967a2ba092cae5a.tar.gz
connman-f4150f238010f224b550bbb2f967a2ba092cae5a.tar.bz2
connman-f4150f238010f224b550bbb2f967a2ba092cae5a.zip
openvpn: Use ifconfig_remote as peer address
route_vpn_gateway is not in all configuration setup the peer address.
-rw-r--r--plugins/openvpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/openvpn.c b/plugins/openvpn.c
index 7cea4e6e..ac361880 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_")) {