diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 7c5dd064c..0d6afb38c 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -764,7 +764,7 @@ sub validate_tc_class( ) { $devref->{occurs} = 1; } elsif ( $option =~ /^limit=(\d+)$/ ) { 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; } else { fatal_error "Unknown option ($option)"; diff --git a/manpages/shorewall-tcclasses.xml b/manpages/shorewall-tcclasses.xml index 1e69a1921..9337c1091 100644 --- a/manpages/shorewall-tcclasses.xml +++ b/manpages/shorewall-tcclasses.xml @@ -425,8 +425,8 @@ Added in Shorewall 4.4.3. When specified for a leaf class, specifies the maximum number of packets that may be queued within the class. The number must - be > 2 and less than 128. If not specified, the value 127 - is assumed. + be > 2 and <=128. If not specified, the value 127 is + assumed. diff --git a/manpages6/shorewall6-tcclasses.xml b/manpages6/shorewall6-tcclasses.xml index 81d50eae2..419b5fc76 100644 --- a/manpages6/shorewall6-tcclasses.xml +++ b/manpages6/shorewall6-tcclasses.xml @@ -376,8 +376,8 @@ Added in Shorewall 4.4.3. When specified for a leaf class, specifies the maximum number of packets that may be queued within the class. The number must - be > 2 and less than 128. If not specified, the value 127 - is assumed. + be > 2 and <= 128. If not specified, the value 127 is + assumed.