From: Daniel Wagner Date: Fri, 17 Dec 2010 14:52:04 +0000 (+0100) Subject: openvpn: Use ifconfig_remote as peer address X-Git-Tag: 0.65~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4150f238010f224b550bbb2f967a2ba092cae5a;p=platform%2Fupstream%2Fconnman.git openvpn: Use ifconfig_remote as peer address route_vpn_gateway is not in all configuration setup the peer address. --- 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_")) {