Commit f3bdca7d authored by Ad Schellevis's avatar Ad Schellevis

(trafficshaper) remove unused burst, in freebsd 10.2 it doesn't crash anymore,...

(trafficshaper) remove unused burst, in freebsd 10.2 it doesn't crash anymore, but doesn't appear to be very useful either. closes https://github.com/opnsense/core/issues/226
parent 74428f5b
......@@ -16,17 +16,6 @@
<label>bandwidth Metric</label>
<type>dropdown</type>
</field>
<!-- <field>
<id>pipe.burst</id>
<label>burst</label>
<type>text</type>
<help>If the data to be sent exceeds the pipe's bandwidth limit (and
the pipe was previously idle), up to size bytes of data are
allowed to bypass the dummynet scheduler, and will be sent as
fast as the physical link allows.
</help>
<advanced>true</advanced>
</field> -->
<field>
<id>pipe.queue</id>
<label>queue</label>
......
......@@ -32,10 +32,6 @@
</OptionValues>
<ValidationMessage>Bandwidth metric should be one of bit,Kbit,Mbit</ValidationMessage>
</bandwidthMetric>
<burst type="IntegerField">
<Required>N</Required>
<ValidationMessage>The burst value is an integer and represent a number of bytes.</ValidationMessage>
</burst>
<queue type="IntegerField">
<Required>N</Required>
<MinimumValue>2</MinimumValue>
......
......@@ -36,7 +36,7 @@ flush
#======================================================================================
{% if helpers.exists('OPNsense.TrafficShaper.pipes.pipe') %}
{% for pipe in helpers.toList('OPNsense.TrafficShaper.pipes.pipe') %}
pipe {{ pipe.number }} config bw {{ pipe.bandwidth }}{{ pipe.bandwidthMetric }}/s{% if pipe.burst %} burst {{ pipe.burst }}{% endif %}{%
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.mask != 'none' %} mask {{ pipe.mask }} 0xffffffff {% endif %} type {%
......
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