From: Jo-Philipp Wich Date: Mon, 16 Dec 2019 17:05:07 +0000 (+0100) Subject: luci-mod-network: dhcp.js: fix default state of nonwildcard X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ffe81aead3f806f28220034cb6276d89774fa47b;p=oweals%2Fluci.git luci-mod-network: dhcp.js: fix default state of nonwildcard Fixes: #3415 Signed-off-by: Jo-Philipp Wich --- 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;