From 876debc1197ed5d723940f6cf7df85140cb854bb 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 (cherry picked from commit 09ab7641738c35b2f7bfbcfe62fc77fe1c77c3c9) --- .../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 b64ab3b7d4..85018238da 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 @@ -250,8 +250,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