mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
respect mask in queue config
This commit is contained in:
parent
6928d06aad
commit
2838b562ad
@ -62,7 +62,7 @@ pipe {{ pipe.number }} config bw {{ pipe.bandwidth }}{{ pipe.bandwidthMetric }}/
|
||||
{% if helpers.exists('OPNsense.TrafficShaper.queues.queue') %}
|
||||
{% for queue in helpers.toList('OPNsense.TrafficShaper.queues.queue') %}
|
||||
{% if helpers.getUUIDtag(queue.pipe) in ['pipe'] %}
|
||||
queue {{ queue.number }} config pipe {{ helpers.getUUID(queue.pipe).number }} weight {{ queue.weight }}{%
|
||||
queue {{ queue.number }} config pipe {{ helpers.getUUID(queue.pipe).number }} {% if queue.mask != 'none' %} mask {{ queue.mask }} 0xffffffff {% endif %} weight {{ queue.weight }}{%
|
||||
if queue.codel_enable|default('0') == '1' %} codel {%
|
||||
if queue.codel_target|default('') != ''%} target {{queue.codel_target}} {% endif %}{%
|
||||
if queue.codel_interval|default('') != ''%} interval {{queue.codel_interval}} {% endif %}{%
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user