mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-31 09:59:59 +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";
|
progress_message " Empty chain $chainref->{name} deleted";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $chainref->{referenced} ) {
|
assert ( ! $chainref->{referenced} );
|
||||||
$chainref->{referenced} = 0;
|
|
||||||
$chainref->{rules} = [];
|
|
||||||
trace ( $chainref, 'X', undef, '' ) if $debug;
|
|
||||||
}
|
|
||||||
|
|
||||||
$count;
|
$count;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user