forked from extern/shorewall_code
Try to avoid ~combN chains when dealing with action chains.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
32c475193f
commit
25d6164f21
@ -3137,7 +3137,7 @@ sub optimize_level8( $$$ ) {
|
||||
$progress = 1;
|
||||
replace_references $chainref1, $chainref->{name}, undef;
|
||||
|
||||
unless ( $chainref->{name} =~ /^~/ ) {
|
||||
unless ( $chainref->{name} =~ /^~/ || $chainref1 =~ /^%/ ) {
|
||||
#
|
||||
# For simple use of the BLACKLIST section, we can end up with many identical
|
||||
# chains. To distinguish them from other renamed chains, we keep track of
|
||||
|
Loading…
Reference in New Issue
Block a user