(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

This commit is contained in:
Ad Schellevis 2016-05-24 18:02:34 +02:00
parent 74428f5b66
commit f3bdca7d1b
3 changed files with 1 additions and 16 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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 {%