From e64af57caeaeed6004f35b6dae3c19ca6e5ea33e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 3 Feb 2010 16:04:59 -0800 Subject: [PATCH] Give smurf logging chain a fixed name. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 1 - Shorewall/Perl/Shorewall/Rules.pm | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 1e7da9a33..a8694b75c 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -41,7 +41,6 @@ our @EXPORT = qw( new_chain new_manual_chain ensure_manual_chain - newlogchain log_rule_limit dont_optimize dont_delete diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 0fe855ac0..f95bb5b97 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -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,