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 01c9d55ec3e17191fe83273174b027fbd1083c3e..31fdd00ccdd035e0a290349cb3c0bd33eaa8cecd 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