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

Fixes: #3415
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-12-16 18:05:07 +01:00
parent 3cdd496946
commit ffe81aead3

View file

@ -370,6 +370,7 @@ return L.view.extend({
o = s.taboption('general', form.Flag, 'nonwildcard', o = s.taboption('general', form.Flag, 'nonwildcard',
_('Non-wildcard'), _('Non-wildcard'),
_('Bind dynamically to interfaces rather than wildcard address (recommended as linux default)')); _('Bind dynamically to interfaces rather than wildcard address (recommended as linux default)'));
o.default = o.enabled;
o.optional = false; o.optional = false;
o.rmempty = true; o.rmempty = true;