From 09ab7641738c35b2f7bfbcfe62fc77fe1c77c3c9 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Fri, 26 Jan 2024 00:57:09 +0100 Subject: [PATCH] luci-mod-network: Restructure DHCP options Multiple dnsmasq sections are now enabled (for those who want e.g. separate dnsmasq options per interface). Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/view/network/dhcp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 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 5ae10f6d4c..2166d34a85 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 @@ -316,8 +316,8 @@ return view.extend({ _('Dnsmasq is a lightweight DHCP server and DNS forwarder.')); s = m.section(form.TypedSection, 'dnsmasq'); - s.anonymous = true; - s.addremove = false; + s.anonymous = false; + s.addremove = true; -- 2.30.2