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:
Vladislav Grigoryev 2021-09-28 06:56:35 +03:00
parent 7c943a1d6b
commit 86599694ee

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