diff options
author | Paul Donald <newtwen@gmail.com> | 2023-12-18 21:52:40 +0100 |
---|---|---|
committer | Paul Donald <newtwen@gmail.com> | 2024-01-26 00:57:24 +0100 |
commit | 6666d32e1d871cf28d693d71f0e13922f7ab8ae5 (patch) | |
tree | fe953fc37d35a4e6b0c7287777f1d1bb87e04e1f /modules/luci-mod-network/htdocs | |
parent | 6d425206d2c2ede97ccab7944046c76a158bb2e2 (diff) |
luci-mod-network: Restructure DHCP options
DHCP logging: add logfacility
Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 23 |
1 files changed, 23 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 f5b2c0d7dd..ac282209e7 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 @@ -370,6 +370,29 @@ return view.extend({ _('Log all options sent to DHCP clients and the tags used to determine them.')); o.optional = true; + o = s.taboption('logging', form.Value, 'logfacility', + _('Log facility'), + _('Set log class/facility for syslog entries.')); + o.optional = true; + o.value('KERN'); + o.value('USER'); + o.value('MAIL'); + o.value('DAEMON'); + o.value('AUTH'); + o.value('LPR'); + o.value('NEWS'); + o.value('UUCP'); + o.value('CRON'); + o.value('LOCAL0'); + o.value('LOCAL1'); + o.value('LOCAL2'); + o.value('LOCAL3'); + o.value('LOCAL4'); + o.value('LOCAL5'); + o.value('LOCAL6'); + o.value('LOCAL7'); + o.value('-', _('stderr')); + o = s.taboption('forward', form.DynamicList, 'server', _('DNS forwardings'), _('Forward specific domain queries to specific upstream servers.')); |