Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-08 12:33:44 +0300
committerJo-Philipp Wich <jo@mein.io>2019-11-08 12:33:44 +0300
commit0513edade863b517a2ab49d3d66543ffd7ebcade (patch)
tree9f4cb7fa3f6b3b54c4697ac0c4631ed97ab9b447
parent392ba53effa26d2592db14c607c7d3103cce34d3 (diff)
luci-mod-network: dhcp.js: fix DNSSEC feature probing
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js5
1 files changed, 1 insertions, 4 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 84586f4854..76cdff77f6 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;