luci-mod-network: support dhcp.dnsmasq.ipset
Allow to modify the ipset option in the dhcp.dnsmasq config. This makes possible to populate IP sets with dnsmasq. Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
This commit is contained in:
parent
7c943a1d6b
commit
86599694ee
1 changed files with 6 additions and 0 deletions
|
@ -289,6 +289,12 @@ return view.extend({
|
|||
o.optional = true;
|
||||
o.placeholder = '/router.local/192.168.0.1';
|
||||
|
||||
o = s.taboption('general', form.DynamicList, 'ipset',
|
||||
_('IP sets'),
|
||||
_('List of IP sets to populate with the specified domain IPs.'));
|
||||
o.optional = true;
|
||||
o.placeholder = '/example.org/ipset,ipset6';
|
||||
|
||||
o = s.taboption('general', form.Flag, 'rebind_protection',
|
||||
_('Rebind protection'),
|
||||
_('Discard upstream RFC1918 responses.'));
|
||||
|
|
Loading…
Reference in a new issue