Delete 'sfiter' chain if it doesn't have referenes

This commit is contained in:
Tom Eastep 2011-05-27 19:38:03 -07:00
parent 790c96c90a
commit 586a3537bf

View File

@ -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';