From 0513edade863b517a2ab49d3d66543ffd7ebcade Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 8 Nov 2019 10:33:44 +0100 Subject: luci-mod-network: dhcp.js: fix DNSSEC feature probing Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/dhcp.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/luci-mod-network') 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 84586f485..76cdff77f 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 @@ -126,10 +126,7 @@ return L.view.extend({ _('Localise queries'), _('Localise hostname depending on the requesting subnet if multiple IPs are available')); - //local have_dnssec_support = luci.util.checklib('/usr/sbin/dnsmasq', 'libhogweed.so'); - var have_dnssec_support = true; - - if (have_dnssec_support) { + if (L.hasSystemFeature('dnsmasq', 'dnssec')) { o = s.taboption('advanced', form.Flag, 'dnssec', _('DNSSEC')); o.optional = true; -- cgit v1.2.3