From ffe81aead3f806f28220034cb6276d89774fa47b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 16 Dec 2019 18:05:07 +0100 Subject: luci-mod-network: dhcp.js: fix default state of nonwildcard Fixes: #3415 Signed-off-by: Jo-Philipp Wich --- .../luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 1 + 1 file changed, 1 insertion(+) (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 430dc6601..9f1f8dc57 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 @@ -370,6 +370,7 @@ return L.view.extend({ o = s.taboption('general', form.Flag, 'nonwildcard', _('Non-wildcard'), _('Bind dynamically to interfaces rather than wildcard address (recommended as linux default)')); + o.default = o.enabled; o.optional = false; o.rmempty = true; -- cgit v1.2.3