forked from extern/shorewall_code
Make '0' equivalent to '-' in the IN_BANDWIDTH column
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
cda4c6ed11
commit
5ddb197680
@ -547,7 +547,7 @@ sub calculate_quantum( $$ ) {
|
||||
sub process_in_bandwidth( $ ) {
|
||||
my $in_rate = shift;
|
||||
|
||||
return 0 if $in_rate eq '-';
|
||||
return 0 if $in_rate eq '-' or $in_rate eq '0';
|
||||
|
||||
my $in_burst = '10kb';
|
||||
my $in_avrate = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user