diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-25 13:47:21 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-25 13:47:21 +0000 |
commit | a29163c2aeb474cd8c7f135802e21440301a904a (patch) | |
tree | f045e4f9135edda0136bd5f827517e1e8d1cddcd /modules | |
parent | c9cbd9fe29942b3c09c36938e724cc7dd3111568 (diff) |
modules/admin-full: handle dnsmasq 'server' uci option (#115)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua b/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua index 01c9d55ec..31fdd00cc 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua @@ -116,4 +116,8 @@ s:option(Value, "tftp_root", s:option(Value, "dhcp_boot", translate("Network Boot Image")).optional = true +s:option(DynamicList, "server", translate("DNS forward"), + translate("List of <abbr title=\"Domain Name System\">DNS</abbr> " .. + "servers to forward requests to")).optional = true + return m |