forked from extern/shorewall_code
Verify that purge_jumps() reset the 'to' chain's referenced flag.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
627468432e
commit
14477d61fe
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user