diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-05-01 23:26:42 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-05-01 23:30:29 +0300 |
commit | b9dbf1bc2c4c26bd7a0aa75363466589d270b24f (patch) | |
tree | ead694e4c13bd865f37471acee6c4c7cd905d9b0 /modules/luci-mod-admin-full | |
parent | 3bf4157184246994fb007cfbc6ecf8aa395fa63d (diff) |
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 <hannu.nyman@iki.fi>
Diffstat (limited to 'modules/luci-mod-admin-full')
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 9 |
1 files changed, 9 insertions, 0 deletions
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 476c9262b..aaf045ca2 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"), |