Try to avoid ~combN chains when dealing with action chains.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-01-21 11:51:33 -08:00
parent 32c475193f
commit 25d6164f21

View File

@ -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