mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-29 19:13:39 +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_chain
|
||||||
new_manual_chain
|
new_manual_chain
|
||||||
ensure_manual_chain
|
ensure_manual_chain
|
||||||
newlogchain
|
|
||||||
log_rule_limit
|
log_rule_limit
|
||||||
dont_optimize
|
dont_optimize
|
||||||
dont_delete
|
dont_delete
|
||||||
|
@ -459,7 +459,7 @@ sub add_common_rules() {
|
|||||||
my $smurfdest;
|
my $smurfdest;
|
||||||
|
|
||||||
if ( defined $config{SMURF_LOG_LEVEL} && $config{SMURF_LOG_LEVEL} ne '' ) {
|
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},
|
log_rule_limit( $config{SMURF_LOG_LEVEL},
|
||||||
$smurfref,
|
$smurfref,
|
||||||
|
Loading…
Reference in New Issue
Block a user