mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Another case where reference counts are wrong
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
aeb3b277b0
commit
cca2c18370
@ -1455,6 +1455,7 @@ sub replace_references( $$ ) {
|
|||||||
for ( @{$fromref->{rules}} ) {
|
for ( @{$fromref->{rules}} ) {
|
||||||
$rule++;
|
$rule++;
|
||||||
if ( defined && s/ -([jg]) $chainref->{name}(\b)/ -$1 ${target}$2/ ) {
|
if ( defined && s/ -([jg]) $chainref->{name}(\b)/ -$1 ${target}$2/ ) {
|
||||||
|
add_reference ( $fromref, $chain_table{$table}{$target} );
|
||||||
$count++;
|
$count++;
|
||||||
trace( $fromref, 'R', $rule, $_ ) if $debug;
|
trace( $fromref, 'R', $rule, $_ ) if $debug;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user