mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 11:33:28 +01:00
Back out unnecessary patch
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8407 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
ed538add0e
commit
699571a083
@ -2059,7 +2059,6 @@ sub expand_rule( $$$$$$$$$$ )
|
|||||||
#
|
#
|
||||||
for my $dnet ( mysplit $dnets ) {
|
for my $dnet ( mysplit $dnets ) {
|
||||||
if ( $loglevel ne '' ) {
|
if ( $loglevel ne '' ) {
|
||||||
my $state = $section eq 'NEW' ? '' : "-m state --state $section ";
|
|
||||||
log_rule_limit
|
log_rule_limit
|
||||||
$loglevel ,
|
$loglevel ,
|
||||||
$chainref ,
|
$chainref ,
|
||||||
@ -2068,7 +2067,7 @@ sub expand_rule( $$$$$$$$$$ )
|
|||||||
'' ,
|
'' ,
|
||||||
$logtag ,
|
$logtag ,
|
||||||
'add' ,
|
'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' ) {
|
unless ( $disposition eq 'LOG' ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user