1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Remove OMR entry from DHCP IP Sets in Luci interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-09-20 19:52:00 +02:00
parent 318ef2f7ae
commit 44b8789388

View file

@ -305,6 +305,10 @@ return view.extend({
o = s.taboption('general', form.DynamicList, 'ipset',
_('IP sets'),
_('List of IP sets to populate with the IPs of DNS lookup results of the FQDNs also specified here.'));
o.filter = function(section_id, name) {
return (section_id.startsWith('omr_dscp') == false);
};
o.optional = true;
o.placeholder = '/example.org/ipset,ipset6';
@ -754,6 +758,9 @@ return view.extend({
_('List of IP sets to populate with the IPs of DNS lookup results of the FQDNs also specified here.'));
ss = o.subsection;
ss.filter = function(section_id, name) {
return (section_id.startsWith('omr_') == false);
};
ss.addremove = true;
ss.anonymous = true;