mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 04:41:07 +01:00
Delete 'sfiter' chain if it doesn't have referenes
This commit is contained in:
parent
790c96c90a
commit
586a3537bf
@ -529,6 +529,10 @@ sub add_common_rules() {
|
||||
|
||||
}
|
||||
}
|
||||
#
|
||||
# Delete 'sfilter' chain unless it has been referenced
|
||||
#
|
||||
$chainref->{referenced} = 0 unless @{$chainref = filter_table-{sfilter}}->{references};
|
||||
|
||||
run_user_exit1 'initdone';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user