Commit 9f86d730 authored by Ad Schellevis's avatar Ad Schellevis

(trafficshaper) add mask tag to ipfw template

parent 5d8b97e2
......@@ -31,7 +31,8 @@ flush
{% for pipe in OPNsense.TrafficShaper.pipes.pipe %}
pipe {{ pipe.number }} config bw {{ pipe.bandwidth }}{{ pipe.bandwidthMetric }}/s {%
if pipe.queue %} queue {{ pipe.queue }} {%
if pipe.queueMetric != 'slots' %} {{pipe.queueMetric}} {% endif %} {% endif %}
if pipe.queueMetric != 'slots' %} {{pipe.queueMetric}} {% endif %} {% endif
%} {% if pipe.mask != 'none' %} mask {{ pipe.mask }} 0xffffffff {% endif %}
{% endfor %}
{% endif %}
......
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