mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-16 18:48:35 +01:00
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:
parent
9d4ec13e47
commit
15915994f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user