From: Felix Fietkau Date: Sun, 20 May 2012 13:31:44 +0000 (+0200) Subject: fix argument order on replacing dns lists X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=549ee59a895cfd20b0cde36d61e8df747e57069d;p=oweals%2Fnetifd.git fix argument order on replacing dns lists --- 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);