Another case where reference counts are wrong

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-04-07 20:07:03 -07:00
parent aeb3b277b0
commit cca2c18370

View File

@ -1455,6 +1455,7 @@ sub replace_references( $$ ) {
for ( @{$fromref->{rules}} ) {
$rule++;
if ( defined && s/ -([jg]) $chainref->{name}(\b)/ -$1 ${target}$2/ ) {
add_reference ( $fromref, $chain_table{$table}{$target} );
$count++;
trace( $fromref, 'R', $rule, $_ ) if $debug;
}