mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-18 03:29:12 +01:00
Fix check for unreferenced 'sfilter' chain
This commit is contained in:
parent
fc34f07a7a
commit
243e8f1dbe
@ -533,7 +533,7 @@ sub add_common_rules() {
|
||||
#
|
||||
# Delete 'sfilter' chain unless there are referenced to it
|
||||
#
|
||||
$chainref->{referenced} = 0 unless @{($chainref = $filter_table->{sfilter})->{referenced}};
|
||||
$chainref->{referenced} = 0 unless keys %{($chainref = $filter_table->{sfilter})->{references}};
|
||||
|
||||
run_user_exit1 'initdone';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user