forked from extern/shorewall_code
Add 'N' trace records for chain creation.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c57ee7d68d
commit
af893b6296
@ -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;
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user