Fix wrong order of resolvconf arguments
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 10 Aug 2008 10:14:10 +0000 (12:14 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 10 Aug 2008 10:14:10 +0000 (12:14 +0200)
plugins/resolvconf.c

index e512f2b..779c68f 100644 (file)
@@ -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);