Correct handling of MACLIST_DISPOSITION with MACLIST_TABLE=mangle

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-04-11 06:23:22 -07:00
parent ee2e85c0fb
commit f85d548d40

View File

@ -2534,10 +2534,12 @@ sub ensure_audit_chain( $;$$$ ) {
my $save_comment = push_comment;
my $ref = $filter_table->{$target};
$table = $table || 'filter';
my $ref = $chain_table{$table}{$target};
unless ( $ref ) {
$ref = new_chain( $table || 'filter', $target );
$ref = new_chain( $table, $target );
unless ( $action ) {
$action = $target;