From b9dbf1bc2c4c26bd7a0aa75363466589d270b24f 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 --- .../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 476c9262b1..aaf045ca2c 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 @@ -58,6 +58,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.30.2