From 2a26272f120135eeebccabe9d51da82060b096c0 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 25 Sep 2018 10:44:38 +0200 Subject: [PATCH] Update ipfw.conf --- src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf b/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf index a7cbb4a00..6b634fda3 100644 --- a/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf +++ b/src/opnsense/service/templates/OPNsense/IPFW/ipfw.conf @@ -53,6 +53,14 @@ pipe {{ pipe.number }} config bw {{ pipe.bandwidth }}{{ pipe.bandwidthMetric }}/ if pipe.fqcodel_limit|default('') != '' %} limit {{pipe.fqcodel_limit}} {% endif %} {% if pipe.fqcodel_flows|default('') != '' %} flows {{pipe.fqcodel_flows}} {% endif %} {% endif %} +{% endif %}{% + if pipe.pie_enable|default('0') == '1' and pipe.scheduler != 'fq_pie' %} pie {% endif %}{% + if pipe.pie_enable|default('0') == '1' or pipe.scheduler == 'fq_pie' %}{% + if pipe.scheduler == 'fq_pie' %} {% + if pipe.fqpie_quantum|default('') != '' %} quantum {{pipe.fqpie_quantum}} {% endif %} {% + if pipe.fqpie_limit|default('') != '' %} limit {{pipe.fqpie_limit}} {% endif %} {% + if pipe.fqpie_flows|default('') != '' %} flows {{pipe.fqpie_flows}} {% endif %} +{% endif %} {% endif %} {% endfor %} @@ -70,6 +78,8 @@ 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 %}{% if queue.codel_ecn_enable|default('0') == '1'%} ecn {% else %} noecn {% endif %} +{% endif %} {% +if queue.pie_enable|default('0') == '1' %} pie {% endif %} {% endif %}