summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2023-11-18 15:43:38 +0100
committerPaul Donald <newtwen@gmail.com>2024-01-26 00:57:24 +0100
commit6d425206d2c2ede97ccab7944046c76a158bb2e2 (patch)
treea8388854ab04f3b53caea82ac085493a3cadfea3 /modules/luci-mod-network
parent09ab7641738c35b2f7bfbcfe62fc77fe1c77c3c9 (diff)
luci-mod-network: Restructure DHCP options
DHCP logging: add logdhcp Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
index 2166d34a85..f5b2c0d7dd 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
@@ -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.'));