Raise max limit to 128

This commit is contained in:
Tom Eastep 2009-10-26 13:03:26 -07:00
parent f0b4b1f42e
commit 105754823a
3 changed files with 5 additions and 5 deletions

View File

@ -764,7 +764,7 @@ sub validate_tc_class( ) {
$devref->{occurs} = 1; $devref->{occurs} = 1;
} elsif ( $option =~ /^limit=(\d+)$/ ) { } elsif ( $option =~ /^limit=(\d+)$/ ) {
warning_message "limit ignore with pfifo queuing" if $tcref->{pfifo}; warning_message "limit ignore with pfifo queuing" if $tcref->{pfifo};
fatal_error "Invalid limit ($1)" if $1 < 3 || $1 > 127; fatal_error "Invalid limit ($1)" if $1 < 3 || $1 > 128;
$tcref->{limit} = $1; $tcref->{limit} = $1;
} else { } else {
fatal_error "Unknown option ($option)"; fatal_error "Unknown option ($option)";

View File

@ -425,8 +425,8 @@
<para>Added in Shorewall 4.4.3. When specified for a leaf <para>Added in Shorewall 4.4.3. When specified for a leaf
class, specifies the maximum number of packets that may be class, specifies the maximum number of packets that may be
queued within the class. The <emphasis>number</emphasis> must queued within the class. The <emphasis>number</emphasis> must
be &gt; 2 and less than 128. If not specified, the value 127 be &gt; 2 and &lt;=128. If not specified, the value 127 is
is assumed. </para> assumed.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>

View File

@ -376,8 +376,8 @@
<para>Added in Shorewall 4.4.3. When specified for a leaf <para>Added in Shorewall 4.4.3. When specified for a leaf
class, specifies the maximum number of packets that may be class, specifies the maximum number of packets that may be
queued within the class. The <emphasis>number</emphasis> must queued within the class. The <emphasis>number</emphasis> must
be &gt; 2 and less than 128. If not specified, the value 127 be &gt; 2 and &lt;= 128. If not specified, the value 127 is
is assumed.</para> assumed.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>