mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-26 17:43:15 +01:00
Correct generation of the blacklog chain when disposition is audited
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
186f71fa96
commit
ee2e85c0fb
@ -2516,6 +2516,9 @@ sub ensure_audit_blacklog_chain( $$$ ) {
|
||||
log_rule_limit( $level , $logchainref , 'blacklst' , $disposition , "$globals{LOGLIMIT}" , '', 'add', '' );
|
||||
|
||||
add_ijump( $logchainref, j => 'AUDIT', targetopts => '--type ' . lc $target );
|
||||
|
||||
$target =~ s/^A_//;
|
||||
|
||||
add_ijump( $logchainref, g => $target );
|
||||
}
|
||||
|
||||
|
@ -1165,7 +1165,7 @@ sub setup_mac_lists( $ ) {
|
||||
my $target = $globals{MACLIST_TARGET};
|
||||
my $level = $config{MACLIST_LOG_LEVEL};
|
||||
my $disposition = $config{MACLIST_DISPOSITION};
|
||||
my $audit = $disposition =~ s/^A_//;
|
||||
my $audit = ( $disposition =~ s/^A_// );
|
||||
my $ttl = $config{MACLIST_TTL};
|
||||
|
||||
progress_message2 "$doing MAC Filtration -- Phase $phase...";
|
||||
|
Loading…
Reference in New Issue
Block a user