---
 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));
-- 
1.7.10.4

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to