luci-mod-network: dnsmasq: correct sense & usage of dnsseccheckunsigned
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 22 Nov 2019 15:25:59 +0000 (15:25 +0000)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
dnsmasq v2.80 made 'dnssec-check-unsigned' the default, reflect this in
the gui.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit c58ae7d3f41a3454a116560fd555aac0ead18ff2)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 2641f5a293486b7f3a8ffa1c05f135f999fdb351..2939aa568c9ca46be6fec65783e067a488664246 100644 (file)
@@ -219,6 +219,7 @@ return view.extend({
                        o = s.taboption('advanced', form.Flag, 'dnsseccheckunsigned',
                                _('DNSSEC check unsigned'),
                                _('Requires upstream supports DNSSEC; verify unsigned domain responses really come from unsigned domains'));
+                       o.default = o.enabled;
                        o.optional = true;
                }