mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
(ipfw) make use of sort order on trafficshaper rule tags
This commit is contained in:
parent
0008d12ce5
commit
5cd169ef29
@ -124,7 +124,7 @@ add 30000 set 0 count ip from any to any
|
||||
add 60000 return via any
|
||||
|
||||
{% if helpers.exists('OPNsense.TrafficShaper.rules.rule') %}
|
||||
{% for rule in helpers.toList('OPNsense.TrafficShaper.rules.rule') %}
|
||||
{% for rule in helpers.toList('OPNsense.TrafficShaper.rules.rule', 'sequence') %}
|
||||
{% if helpers.getUUIDtag(rule.target) in ['pipe','queue'] %}
|
||||
{% if helpers.getNodeByTag('interfaces.'+rule.interface) %}
|
||||
add {{loop.index + 60000}} {{ helpers.getUUIDtag(rule.target) }} {{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user