From: Felix Fietkau Date: Wed, 19 Oct 2011 19:14:39 +0000 (+0200) Subject: fix interface_add_dns_search_list X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cb42f8ddc76b8254f23a28772e60da7aeeb4a23;p=oweals%2Fnetifd.git fix interface_add_dns_search_list --- 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)); } }