forked from extern/shorewall_code
Optimize a test in finish_chain_section().
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ca202ca10b
commit
5dbe2aa9ec
@ -878,10 +878,10 @@ sub finish_chain_section ($$$) {
|
||||
|
||||
|
||||
if ( $state && ! $config{FASTACCEPT} ) {
|
||||
if ( $chainref->{name} eq $chain1ref->{name} ) {
|
||||
add_ijump $chainref, j => 'ACCEPT', state_imatch $state;
|
||||
} else {
|
||||
if ( $relatedchain ) {
|
||||
add_ijump $chainref, j => 'ACCEPT';
|
||||
} else {
|
||||
add_ijump $chainref, j => 'ACCEPT', state_imatch $state;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user