summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-02-13 17:29:04 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-19 12:51:47 +0200
commit2908f0a0546a58e02cb49492b0d7118a4f910870 (patch)
treedb0178d30b141a2f898d4f73eadb48e6b1f060fd /plugins
parentf9ab1c410bef128e84c388fd67da82d715808bff (diff)
downloadconnman-2908f0a0546a58e02cb49492b0d7118a4f910870.tar.gz
connman-2908f0a0546a58e02cb49492b0d7118a4f910870.tar.bz2
connman-2908f0a0546a58e02cb49492b0d7118a4f910870.zip
vpn: Ignore VPN UserRoutes and ServerRoutes properties
These properties are not needed here so ignore them.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/vpn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index 77c41b03..d27346a3 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -609,6 +609,10 @@ static void add_connection(const char *path, DBusMessageIter *properties,
extract_nameservers(&value, data);
} else if (g_str_equal(key, "Index") == TRUE) {
dbus_message_iter_get_basic(&value, &data->index);
+ } else if (g_str_equal(key, "ServerRoutes") == TRUE) {
+ /* Ignored */
+ } else if (g_str_equal(key, "UserRoutes") == TRUE) {
+ /* Ignored */
} else {
if (dbus_message_iter_get_arg_type(&value) ==
DBUS_TYPE_STRING) {