projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120cd39
)
fix argument order on replacing dns lists
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 20 May 2012 13:31:44 +0000
(15:31 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 20 May 2012 13:31:44 +0000
(15:31 +0200)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 331eaa197cca5d877b76c266187135c658df1a76..6cad26bee0f3a1baf2e34fedfc66b1e1a4a1fa4d 100644
(file)
--- 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);