mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 08:44:05 +01:00
Correct optimize level 8 handling of policy and policychain
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
8db4265ccc
commit
a504820d19
@ -3900,6 +3900,12 @@ sub optimize_level8( $$$ ) {
|
||||
}
|
||||
|
||||
$combined{ $chainref1->{name} } = $chainref->{name};
|
||||
|
||||
if ( $chainref->{policychain} ) {
|
||||
$chainref1->{policychain} = $chainref->{policychain}, $chainref1->{policy} = $chainref->{policy} unless $chainref1->{policychain};
|
||||
} elsif ( $chainref1->{policychain} ) {
|
||||
$chainref->{policychain} = $chainref1->{policychain}, $chainref->{policy} = $chainref1->{policy} unless $chainref->{policychain};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user