luci-mod-network: Restructure DHCP options
authorPaul Donald <newtwen@gmail.com>
Sat, 18 Nov 2023 14:43:38 +0000 (15:43 +0100)
committerPaul Donald <newtwen@gmail.com>
Sun, 28 Jan 2024 14:25:02 +0000 (15:25 +0100)
DHCP logging: add logdhcp

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 6d425206d2c2ede97ccab7944046c76a158bb2e2)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 2166d34a85f7f039047854d10f808445ddb7fc1b..f5b2c0d7dd640ae8035ccc65736834a6d4906c64 100644 (file)
@@ -365,6 +365,11 @@ return view.extend({
                        _('Write received DNS queries to syslog.') + ' ' + _('Dump cache on SIGUSR1, include requesting IP.'));
                o.optional = true;
 
+               o = s.taboption('logging', form.Flag, 'logdhcp',
+                       _('Extra DHCP logging'),
+                       _('Log all options sent to DHCP clients and the tags used to determine them.'));
+               o.optional = true;
+
                o = s.taboption('forward', form.DynamicList, 'server',
                        _('DNS forwardings'),
                        _('Forward specific domain queries to specific upstream servers.'));