1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Changes to luci-app-firewall

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-12-11 16:54:21 +01:00
parent f700f2ef26
commit 679b730075
5 changed files with 19 additions and 2 deletions

View file

@ -184,7 +184,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) {