mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(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:
parent
74428f5b66
commit
f3bdca7d1b
@ -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 {%
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user