Add 'N' trace records for chain creation.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-03-30 07:32:38 -07:00
parent c57ee7d68d
commit af893b6296

View File

@ -1017,13 +1017,17 @@ sub new_chain($$)
assert( $chain_table{$table} && ! ( $chain_table{$table}{$chain} || $builtin_target{ $chain } ) );
$chain_table{$table}{$chain} = { name => $chain,
my $chainref = { name => $chain,
rules => [],
table => $table,
loglevel => '',
log => 1,
cmdlevel => 0,
references => {} };
trace( $chainref, 'N', undef, '' ) if $debug;
$chain_table{$table}{$chain} = $chainref;
}
#