From c20a42a1bd6fc0edabd3772b4ed145c3c28e588b Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 27 Jan 2011 14:11:18 +0100 Subject: [PATCH] openvpn: Fix typo in routing prefix check --- plugins/openvpn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openvpn.c b/plugins/openvpn.c index 6083874..7973542 100644 --- a/plugins/openvpn.c +++ b/plugins/openvpn.c @@ -115,7 +115,7 @@ static int ov_notify(DBusMessage *msg, struct connman_provider *provider) if (!strcmp(key, "ifconfig_remote")) connman_provider_set_string(provider, "Peer", value); - if (g_str_has_prefix(key, "network_") == TRUE) + if (g_str_has_prefix(key, "route_") == TRUE) connman_provider_append_route(provider, key, value); ov_append_dns_entries(key, value, &dns_entries); -- 2.7.4