Verify that purge_jumps() reset the 'to' chain's referenced flag.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-04-09 12:28:01 -07:00
parent 627468432e
commit 14477d61fe

View File

@ -1428,11 +1428,7 @@ sub delete_references( $ ) {
progress_message " Empty chain $chainref->{name} deleted";
}
if ( $chainref->{referenced} ) {
$chainref->{referenced} = 0;
$chainref->{rules} = [];
trace ( $chainref, 'X', undef, '' ) if $debug;
}
assert ( ! $chainref->{referenced} );
$count;
}