mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 10:51:02 +01:00
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