mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 07:33:43 +01:00
Give smurf logging chain a fixed name.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f4e175f149
commit
e64af57cae
@ -41,7 +41,6 @@ our @EXPORT = qw(
|
||||
new_chain
|
||||
new_manual_chain
|
||||
ensure_manual_chain
|
||||
newlogchain
|
||||
log_rule_limit
|
||||
dont_optimize
|
||||
dont_delete
|
||||
|
@ -459,7 +459,7 @@ sub add_common_rules() {
|
||||
my $smurfdest;
|
||||
|
||||
if ( defined $config{SMURF_LOG_LEVEL} && $config{SMURF_LOG_LEVEL} ne '' ) {
|
||||
my $smurfref = new_chain( 'filter', $smurfdest = newlogchain );
|
||||
my $smurfref = new_chain( 'filter', $smurfdest = 'smurflog' );
|
||||
|
||||
log_rule_limit( $config{SMURF_LOG_LEVEL},
|
||||
$smurfref,
|
||||
|
Loading…
Reference in New Issue
Block a user