forked from extern/shorewall_code
Delete 'sfilter' chain if it isn't referenced
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
1a2c9a08e1
commit
a37dbf76dc
@ -530,6 +530,11 @@ sub add_common_rules() {
|
||||
}
|
||||
}
|
||||
|
||||
#
|
||||
# Delete 'sfilter' chain unless there are referenced to it
|
||||
#
|
||||
$chainref->{referenced} = 0 unless @{($chainref = $filter_table->{sfilter})->{referenced}};
|
||||
|
||||
run_user_exit1 'initdone';
|
||||
|
||||
setup_blacklist;
|
||||
|
Loading…
Reference in New Issue
Block a user