luci-mod-network: dhcp.js: fix default state of nonwildcard

Fixes: #3415
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ffe81aead3)
This commit is contained in:
Jo-Philipp Wich 2019-12-16 18:05:07 +01:00
parent 9c88db57fe
commit 6aeda9c4c8

View file

@ -369,6 +369,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;