mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-03 11:29:39 +01:00
Correction to logging rule fix
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
eb8d96135e
commit
e8807f3e7e
@ -3256,7 +3256,7 @@ sub expand_rule( $$$$$$$$$$;$ )
|
||||
|
||||
if ( $loglevel ne '' ) {
|
||||
if ( $disposition ne 'LOG' ) {
|
||||
unless ( $logname || $disposition eq 'RETURN' ) {
|
||||
unless ( $logname || $target =~ /-j RETURN\b/ ) {
|
||||
#
|
||||
# Find/Create a chain that both logs and applies the target action
|
||||
# and jump to the log chain if all of the rule's conditions are met
|
||||
|
Loading…
Reference in New Issue
Block a user