mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 20:30:43 +01:00
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';
|
run_user_exit1 'initdone';
|
||||||
|
|
||||||
setup_blacklist;
|
setup_blacklist;
|
||||||
|
Loading…
Reference in New Issue
Block a user