projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a99487e
)
client: Fix index for IPv6 configuration option
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 22 May 2013 09:21:35 +0000
(12:21 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Wed, 22 May 2013 10:18:49 +0000
(13:18 +0300)
client/commands.c
patch
|
blob
|
history
diff --git
a/client/commands.c
b/client/commands.c
index
263453a
..
8c67ebc
100644
(file)
--- 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));