summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-10 12:14:10 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-10 12:14:10 +0200
commit57a065f9bd8db08f2fd4b3b40fbe26198f1358c1 (patch)
tree5b4982d3f74aa901077b5dc04ee075a0e2ec70e5
parentd32b5d20f932ab5853d400ea800b2eeaffb37556 (diff)
downloadconnman-57a065f9bd8db08f2fd4b3b40fbe26198f1358c1.tar.gz
connman-57a065f9bd8db08f2fd4b3b40fbe26198f1358c1.tar.bz2
connman-57a065f9bd8db08f2fd4b3b40fbe26198f1358c1.zip
Fix wrong order of resolvconf arguments
-rw-r--r--plugins/resolvconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/resolvconf.c b/plugins/resolvconf.c
index e512f2b7..779c68f3 100644
--- a/plugins/resolvconf.c
+++ b/plugins/resolvconf.c
@@ -51,7 +51,7 @@ static int resolvconf_probe(struct connman_element *element)
return -EINVAL;
cmd = g_strdup_printf("echo \"nameserver %s\" | %s -a %s",
- RESOLVCONF, nameserver,
+ nameserver, RESOLVCONF,
element->netdev.name);
DBG("%s", cmd);