From: Jo-Philipp Wich Date: Sun, 22 Nov 2009 12:00:29 +0000 (+0000) Subject: modules/admin-full: make dnsmasq addnhosts option a dynamic list X-Git-Tag: 0.10.0~936 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4739f33d8cfdeee5fd41ada2e583825dc9bea7d2;p=oweals%2Fluci.git modules/admin-full: make dnsmasq addnhosts option a dynamic list --- 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("max. DHCP-Leases")).optional = true -s:option(Value, "addnhosts", +s:option(DynamicList, "addnhosts", translate("additional hostfile")).optional = true s:option(Value, "queryport",