summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-01-27 14:11:18 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-27 15:32:38 +0100
commitc20a42a1bd6fc0edabd3772b4ed145c3c28e588b (patch)
treec0ffbd543aa104a61263260b0341f797b41f436c /plugins
parent1abaafbb345145ce0b5e00e27694b011e0004e73 (diff)
downloadconnman-c20a42a1bd6fc0edabd3772b4ed145c3c28e588b.tar.gz
connman-c20a42a1bd6fc0edabd3772b4ed145c3c28e588b.tar.bz2
connman-c20a42a1bd6fc0edabd3772b4ed145c3c28e588b.zip
openvpn: Fix typo in routing prefix check
Diffstat (limited to 'plugins')
-rw-r--r--plugins/openvpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/openvpn.c b/plugins/openvpn.c
index 60838747..79735429 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);