summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-22 12:00:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-22 12:00:29 +0000
commit4739f33d8cfdeee5fd41ada2e583825dc9bea7d2 (patch)
tree7287ece2d9eaca481c46af1de4e96b712eb05a99 /modules/admin-full
parenta1ab9b51109d551edbff50a26c1ce127cfc5cbdc (diff)
modules/admin-full: make dnsmasq addnhosts option a dynamic list
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua2
1 files changed, 1 insertions, 1 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 cbfa9e6bf..01c9d55ec 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua
@@ -101,7 +101,7 @@ s:option(Value, "dhcpleasemax",
translate("<abbr title=\"maximal\">max.</abbr> <abbr title=\"Dynamic Host Configuration " ..
"Protocol\">DHCP</abbr>-Leases")).optional = true
-s:option(Value, "addnhosts",
+s:option(DynamicList, "addnhosts",
translate("additional hostfile")).optional = true
s:option(Value, "queryport",