forked from extern/shorewall_code
Handle two-chain case when LOG_ZONE != 'Both'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4a714b3ab9
commit
88547f5140
@ -1232,7 +1232,7 @@ sub finish_chain_section ($$$) {
|
|||||||
if ( $twochains ) {
|
if ( $twochains ) {
|
||||||
$chain2ref = $chainref;
|
$chain2ref = $chainref;
|
||||||
} else {
|
} else {
|
||||||
$chain2ref = new_chain( 'filter', "${char}$chainref->{name}" );
|
$chain2ref = new_chain( 'filter', "${char}$chainref->{name}" , "${char}$chainref->{logname}" );
|
||||||
}
|
}
|
||||||
|
|
||||||
log_rule_limit( $level,
|
log_rule_limit( $level,
|
||||||
|
Loading…
Reference in New Issue
Block a user