From 699571a083453cfff8acf2d1c2261ca9d011052c Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 9 Apr 2008 21:30:40 +0000 Subject: [PATCH] Back out unnecessary patch git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8407 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index d25c32d13..f427042b7 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -2059,7 +2059,6 @@ sub expand_rule( $$$$$$$$$$ ) # for my $dnet ( mysplit $dnets ) { if ( $loglevel ne '' ) { - my $state = $section eq 'NEW' ? '' : "-m state --state $section "; log_rule_limit $loglevel , $chainref , @@ -2068,7 +2067,7 @@ sub expand_rule( $$$$$$$$$$ ) '' , $logtag , 'add' , - join( '', $state, $rule, match_source_net( $inet , $restriction ) , match_dest_net( $dnet ), $onet ); + join( '', $rule, match_source_net( $inet , $restriction ) , match_dest_net( $dnet ), $onet ); } unless ( $disposition eq 'LOG' ) {