summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-05-22 09:21:35 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-05-22 10:18:49 (GMT)
commit9e004ba689534442d8b4738d41a9cf591cd38c87 (patch)
tree4a7d440fc4bcc2533a22941ca8d40b4cce2a04ea /client
parenta99487eac8e93c887e23e524b31e03904b318669 (diff)
downloadconnman-9e004ba689534442d8b4738d41a9cf591cd38c87.zip
connman-9e004ba689534442d8b4738d41a9cf591cd38c87.tar.gz
connman-9e004ba689534442d8b4738d41a9cf591cd38c87.tar.bz2
client: Fix index for IPv6 configuration option
Diffstat (limited to 'client')
-rw-r--r--client/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/commands.c b/client/commands.c
index 263453a..8c67ebc 100644
--- a/client/commands.c
+++ b/client/commands.c
@@ -737,7 +737,7 @@ static void config_append_ipv6(DBusMessageIter *iter, void *user_data)
if (opts[1] != NULL) {
append->values = 2;
- if (g_strcmp0(opts[0], "prefered") != 0) {
+ if (g_strcmp0(opts[1], "prefered") != 0) {
fprintf(stderr, "Error %s: %s\n",
opts[1],
strerror(-EINVAL));