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:
parent
318ef2f7ae
commit
44b8789388
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue