mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Do not display OMR internal rules in firewall view
This commit is contained in:
parent
0a31d4daf4
commit
eb879b0095
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ return view.extend({
|
|||
s.tab('timed', _('Time Restrictions'));
|
||||
|
||||
s.filter = function(section_id) {
|
||||
return (uci.get('firewall', section_id, 'target') != 'SNAT');
|
||||
//return (uci.get('firewall', section_id, 'target') != 'SNAT');
|
||||
return (uci.get('firewall', section_id, 'target') != 'SNAT' && section_id.startsWith('omr_dst') == false && section_id.startsWith('omr_dscp') == false);
|
||||
};
|
||||
|
||||
s.sectiontitle = function(section_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue