diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-13 14:58:51 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-13 14:58:51 +0200 |
commit | 5e5cd11724f6cf86edc5796e6b805573c767f757 (patch) | |
tree | 165d7208a39bb38c27884efbfddc70462eb57f59 /interface-ip.h | |
parent | 545f0fad20b68957e245b3b05ace935cd1089726 (diff) |
add functions for adding dns servers to the proto list, hook them up in proto-static.c
Diffstat (limited to 'interface-ip.h')
-rw-r--r-- | interface-ip.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/interface-ip.h b/interface-ip.h index 23782ad..91703a1 100644 --- a/interface-ip.h +++ b/interface-ip.h @@ -55,6 +55,8 @@ struct dns_search_domain { }; void interface_ip_init(struct interface *iface); +void interface_add_dns_server(struct interface *iface, const char *str); +void interface_add_dns_server_list(struct interface *iface, struct blob_attr *list); void interface_clear_dns(struct interface *iface); void interface_write_resolv_conf(void); |