From a0f22fdec9e5c3534cd13a0ccb2ae6ea555816d9 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 1 May 2016 23:26:42 +0300 Subject: [PATCH] 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) --- .../luasrc/model/cbi/admin_network/dhcp.lua | 9 +++++++++ 1 file changed, 9 insertions(+) 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"), -- 2.25.1