modules/admin-full: handle dnsmasq 'server' uci option (#115)
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Mar 2010 13:47:21 +0000 (13:47 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 25 Mar 2010 13:47:21 +0000 (13:47 +0000)
modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua

index 01c9d55..31fdd00 100644 (file)
@@ -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