mirror of
https://gitlab.com/shorewall/code.git
synced 2025-05-21 00:20:58 +02:00
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:
parent
8406623bcf
commit
18fd54baf7
@ -1151,7 +1151,9 @@ sub log_rule_limit( $$$$$$$$ ) {
|
|||||||
|
|
||||||
my $prefix;
|
my $prefix;
|
||||||
|
|
||||||
$limit = $globals{LOGLIMIT} unless $limit;
|
$limit = $globals{LOGLIMIT} unless $limit && $limit ne '-';
|
||||||
|
|
||||||
|
$predicates .= $limit;
|
||||||
|
|
||||||
if ( $tag ) {
|
if ( $tag ) {
|
||||||
if ( $config{LOGTAGONLY} ) {
|
if ( $config{LOGTAGONLY} ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user