summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--interface-ip.c4
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));
}
}