diff options
author | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-09-28 06:56:35 +0300 |
---|---|---|
committer | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-10-01 03:56:59 +0300 |
commit | 86599694eedc7024dfdc69313d61881824a47e0a (patch) | |
tree | 5d76b12551c131420cad1dc055a917e2d8b652d4 /modules/luci-mod-network | |
parent | 7c943a1d6bcf449019ca8a43e800e51f269bb8f6 (diff) |
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>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index b49040b6a0..d7f6910787 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -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.')); |