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 } ) );
|
assert( $chain_table{$table} && ! ( $chain_table{$table}{$chain} || $builtin_target{ $chain } ) );
|
||||||
|
|
||||||
$chain_table{$table}{$chain} = { name => $chain,
|
my $chainref = { name => $chain,
|
||||||
rules => [],
|
rules => [],
|
||||||
table => $table,
|
table => $table,
|
||||||
loglevel => '',
|
loglevel => '',
|
||||||
log => 1,
|
log => 1,
|
||||||
cmdlevel => 0,
|
cmdlevel => 0,
|
||||||
references => {} };
|
references => {} };
|
||||||
|
|
||||||
|
trace( $chainref, 'N', undef, '' ) if $debug;
|
||||||
|
|
||||||
|
$chain_table{$table}{$chain} = $chainref;
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user