summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index 331eaa1..6cad26b 100644
--- a/interface.c
+++ b/interface.c
@@ -593,7 +593,7 @@ interface_update_complete(struct interface *iface)
}
static void
-interface_replace_dns(struct interface_ip_settings *old, struct interface_ip_settings *new)
+interface_replace_dns(struct interface_ip_settings *new, struct interface_ip_settings *old)
{
vlist_simple_replace(&new->dns_servers, &old->dns_servers);
vlist_simple_replace(&new->dns_search, &old->dns_search);