Merge pull request #5402 from vgaetera/dnsmasq-ipset

luci-mod-network: support dhcp.dnsmasq.ipset
This commit is contained in:
Stan Grishin 2021-10-01 11:16:46 -07:00 committed by GitHub
commit 58099b9891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.'));