Make '0' equivalent to '-' in the IN_BANDWIDTH column

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-01-06 09:14:07 -08:00
parent cda4c6ed11
commit 5ddb197680

View File

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