Commit 5cd169ef authored by Ad Schellevis's avatar Ad Schellevis

(ipfw) make use of sort order on trafficshaper rule tags

parent 0008d12c
...@@ -124,7 +124,7 @@ add 30000 set 0 count ip from any to any ...@@ -124,7 +124,7 @@ add 30000 set 0 count ip from any to any
add 60000 return via any add 60000 return via any
{% if helpers.exists('OPNsense.TrafficShaper.rules.rule') %} {% 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.getUUIDtag(rule.target) in ['pipe','queue'] %}
{% if helpers.getNodeByTag('interfaces.'+rule.interface) %} {% if helpers.getNodeByTag('interfaces.'+rule.interface) %}
add {{loop.index + 60000}} {{ helpers.getUUIDtag(rule.target) }} {{ add {{loop.index + 60000}} {{ helpers.getUUIDtag(rule.target) }} {{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment