Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-02-17 09:23:11 -08:00
parent f5c954295d
commit b8fc1a9b22

View File

@ -2045,7 +2045,7 @@ sub do_ratelimit( $$ ) {
$limit .= $rate =~ /^s:/ ? 'srcip ' : 'dstip ';
if ( $units && $units ne 'sec' ) {
my $expire = 60000; # I minute in milliseconds
my $expire = 60000; # 1 minute in milliseconds
if ( $units ne 'min' ) {
$expire *= 60; #At least an hour