From 9e004ba689534442d8b4738d41a9cf591cd38c87 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Wed, 22 May 2013 12:21:35 +0300 Subject: [PATCH] client: Fix index for IPv6 configuration option --- client/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.7.4