diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 21:14:39 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 21:14:39 +0200 |
commit | 3cb42f8ddc76b8254f23a28772e60da7aeeb4a23 (patch) | |
tree | f1700b95dc87c714ba789635b0ebde1f460b58df | |
parent | 8699ae1f82f685b26cc8fcbcc4779c7988e0cb17 (diff) |
fix interface_add_dns_search_list
-rw-r--r-- | interface-ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-ip.c b/interface-ip.c index 571bb32..6b25f75 100644 --- 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_server(ip, blobmsg_data(cur)); + interface_add_dns_search_domain(ip, blobmsg_data(cur)); } } |