Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-mod-network: use network selector for dnsmasq instances #6642

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -339,17 +339,18 @@ return view.extend({
o.optional = false;
o.rmempty = true;

o = s.taboption('general', form.DynamicList, 'interface',
o = s.taboption('general', widgets.NetworkSelect, 'interface',
_('Listen interfaces'),
_('Listen only on the specified interfaces, and loopback if not excluded explicitly.'));
o.optional = true;
o.placeholder = 'lan';
o.multiple = true;
o.nocreate = true;

o = s.taboption('general', form.DynamicList, 'notinterface',
o = s.taboption('general', widgets.NetworkSelect, 'notinterface',
_('Exclude interfaces'),
_('Do not listen on the specified interfaces.'));
o.optional = true;
o.placeholder = 'loopback';
o.loopback = true;
o.multiple = true;
o.nocreate = true;

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.')
Expand Down