Give smurf logging chain a fixed name.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-02-03 16:04:59 -08:00
parent f4e175f149
commit e64af57cae
2 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,6 @@ our @EXPORT = qw(
new_chain
new_manual_chain
ensure_manual_chain
newlogchain
log_rule_limit
dont_optimize
dont_delete

View File

@ -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,