Merge pull request #6642 from vgaetera/dnsmasq-network-select
luci-mod-network: use network selector for dnsmasq instances
This commit is contained in:
commit
aa1e049f36
1 changed files with 7 additions and 6 deletions
|
@ -355,17 +355,18 @@ return view.extend({
|
||||||
o.optional = false;
|
o.optional = false;
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
|
||||||
o = s.taboption('general', form.DynamicList, 'interface',
|
o = s.taboption('general', widgets.NetworkSelect, 'interface',
|
||||||
_('Listen interfaces'),
|
_('Listen interfaces'),
|
||||||
_('Listen only on the specified interfaces, and loopback if not excluded explicitly.'));
|
_('Listen only on the specified interfaces, and loopback if not excluded explicitly.'));
|
||||||
o.optional = true;
|
o.multiple = true;
|
||||||
o.placeholder = 'lan';
|
o.nocreate = true;
|
||||||
|
|
||||||
o = s.taboption('general', form.DynamicList, 'notinterface',
|
o = s.taboption('general', widgets.NetworkSelect, 'notinterface',
|
||||||
_('Exclude interfaces'),
|
_('Exclude interfaces'),
|
||||||
_('Do not listen on the specified interfaces.'));
|
_('Do not listen on the specified interfaces.'));
|
||||||
o.optional = true;
|
o.loopback = true;
|
||||||
o.placeholder = 'loopback';
|
o.multiple = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
|
||||||
o = s.taboption('relay', form.SectionValue, '__relays__', form.TableSection, 'relay', null,
|
o = s.taboption('relay', form.SectionValue, '__relays__', form.TableSection, 'relay', null,
|
||||||
_('Relay DHCP requests elsewhere. OK: v4↔v4, v6↔v6. Not OK: v4↔v6, v6↔v4.')
|
_('Relay DHCP requests elsewhere. OK: v4↔v4, v6↔v6. Not OK: v4↔v6, v6↔v4.')
|
||||||
|
|
Loading…
Reference in a new issue