From 3cb42f8ddc76b8254f23a28772e60da7aeeb4a23 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 19 Oct 2011 21:14:39 +0200 Subject: fix interface_add_dns_search_list --- interface-ip.c | 4 ++-- 1 file 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)); } } -- cgit v1.2.3