Fix silly duplicate-rule problem

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8411 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-04-10 00:12:15 +00:00
parent 9d4ec13e47
commit 15915994f6

View File

@ -913,7 +913,7 @@ sub finish_chain_section ($$) {
add_rule $chainref, "-m state --state $state -j ACCEPT" unless $config{FASTACCEPT};
if ($sections{RELATED} ) {
if ($sections{NEW} ) {
if ( $chainref->{is_policy} ) {
if ( $chainref->{synparams} ) {
my $synchainref = ensure_chain 'filter', syn_flood_chain $chainref;