From: Hannu Nyman Date: Sun, 1 May 2016 20:26:42 +0000 (+0300) Subject: luci-mod-admin-full: dnsmasq options quietdhcp and sequential_ip X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a0f22fdec9e5c3534cd13a0ccb2ae6ea555816d9;p=oweals%2Fluci.git luci-mod-admin-full: dnsmasq options quietdhcp and sequential_ip Add support for dnsmasq uci options 'quietdhcp' and 'sequential_ip' (disable logging, allocate ip addresses sequentially) Signed-off-by: Hannu Nyman (cherry picked from commit b9dbf1bc2c4c26bd7a0aa75363466589d270b24f) --- diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua index 7141e3c55..cf1b0d50a 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua @@ -56,6 +56,15 @@ s:taboption("files", Flag, "nohosts", s:taboption("files", DynamicList, "addnhosts", translate("Additional Hosts files")).optional = true +qu = s:taboption("advanced", Flag, "quietdhcp", + translate("Suppress logging"), + translate("Suppress logging of the routine operation of these protocols")) +qu.optional = true + +se = s:taboption("advanced", Flag, "sequential_ip", + translate("Allocate IP sequentially"), + translate("Allocate IP addresses sequentially, starting from the lowest available address")) +se.optional = true s:taboption("advanced", Flag, "boguspriv", translate("Filter private"),