luci-mod-network: dnsmasq: correct sense & usage of dnsseccheckunsigned 3347/head
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 22 Nov 2019 15:25:59 +0000 (15:25 +0000)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 22 Nov 2019 15:25:59 +0000 (15:25 +0000)
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>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 76cdff77f6dc0e83417ccba571ccd5f24de8618b..ab6779e1493819b0ec9913e3af3697fee205038b 100644 (file)
@@ -134,6 +134,7 @@ return L.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;
                }