diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-20 15:31:44 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-20 15:31:44 +0200 |
commit | 549ee59a895cfd20b0cde36d61e8df747e57069d (patch) | |
tree | c8e157f7c47031fddd52d7409a6c9cb539b7e0a0 | |
parent | 120cd39654a33401423f1b65bb19e12681a6e46f (diff) |
fix argument order on replacing dns lists
-rw-r--r-- | interface.c | 2 |
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); |