Cleanup of new IN-BANDWIDTH handling.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-10-18 05:53:50 -07:00
parent 15915799b9
commit 62d43ab6dd

View File

@ -521,6 +521,9 @@ sub calculate_quantum( $$ ) {
int( ( $rate * 125 ) / $r2q );
}
#
# The next two function implement handling of the IN-BANDWIDTH column in both tcdevices and tcinterfaces
#
sub process_in_bandwidth( $ ) {
my $in_rate = shift;
@ -566,9 +569,7 @@ sub process_in_bandwidth( $ ) {
}
my @result = ( $in_rate, $in_burst, $in_avrate, $in_interval, $in_decay);
\@result;
[ $in_rate, $in_burst, $in_avrate, $in_interval, $in_decay ];
}
sub handle_in_bandwidth( $$ ) {