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 15:02:17 +0000 (16:02 +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 85018238da875e8c727ca2ece94611aa16dab840..a89935879a3db6c9840209a60f4de2e5a83c5e88 100644 (file)
@@ -296,6 +296,11 @@ return view.extend({
                        _('Write received DNS queries to syslog.'));
                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'),
                        _('List of upstream resolvers to forward queries to.'));