From: Vladislav Grigoryev Date: Tue, 28 Sep 2021 03:56:35 +0000 (+0300) Subject: luci-mod-network: support dhcp.dnsmasq.ipset X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=86599694eedc7024dfdc69313d61881824a47e0a;p=openwrt-luci.git 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 --- 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.'));