modules/admin-full: make dnsmasq addnhosts option a dynamic list
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 22 Nov 2009 12:00:29 +0000 (12:00 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 22 Nov 2009 12:00:29 +0000 (12:00 +0000)
modules/admin-full/luasrc/model/cbi/admin_services/dnsmasq.lua

index cbfa9e6bfe0cfb6cef1815af517aac5f8b6672ea..01c9d55ec3e17191fe83273174b027fbd1083c3e 100644 (file)
@@ -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",