Fix log rule generation

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6277 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-08 02:19:16 +00:00
parent 8406623bcf
commit 18fd54baf7

View File

@ -1151,7 +1151,9 @@ sub log_rule_limit( $$$$$$$$ ) {
my $prefix;
$limit = $globals{LOGLIMIT} unless $limit;
$limit = $globals{LOGLIMIT} unless $limit && $limit ne '-';
$predicates .= $limit;
if ( $tag ) {
if ( $config{LOGTAGONLY} ) {