diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index 75e28f94c..a712d525d 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -1151,7 +1151,7 @@ sub log_rule_limit( $$$$$$$$ ) { my $prefix; - $limit = $globals{LOGLIMIT} unless $limit && $limit ne '-' && $limit ne ''; + $limit = $globals{LOGLIMIT} unless $limit && $limit ne '-'; $predicates .= $limit;