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:
8699ae1
)
fix interface_add_dns_search_list
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 19 Oct 2011 19:14:39 +0000
(21:14 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 19 Oct 2011 19:14:39 +0000
(21:14 +0200)
interface-ip.c
patch
|
blob
|
history
diff --git
a/interface-ip.c
b/interface-ip.c
index 571bb3253f52621d03544464333614f49ff8b8ab..6b25f75e5a7fc0308f54d5035c22ae366eee160e 100644
(file)
--- a/
interface-ip.c
+++ b/
interface-ip.c
@@
-215,7
+215,7
@@
interface_add_dns_server_list(struct interface_ip_settings *ip, struct blob_attr
}
}
-void
+
static
void
interface_add_dns_search_domain(struct interface_ip_settings *ip, const char *str)
{
struct dns_search_domain *s;
@@
-243,7
+243,7
@@
interface_add_dns_search_list(struct interface_ip_settings *ip, struct blob_attr
if (!blobmsg_check_attr(cur, NULL))
continue;
- interface_add_dns_se
rver
(ip, blobmsg_data(cur));
+ interface_add_dns_se
arch_domain
(ip, blobmsg_data(cur));
}
}