mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
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