diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 79c67e5fa..77b10c365 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2100,7 +2100,7 @@ sub process_rule ( $$$$$$$$$$$$$$$$$$$ ) { $matches .= "$inline_matches "; if ( $param eq '' ) { - $action = ''; + $action = $loglevel ? 'LOG' : ''; } else { ( $action, $loglevel ) = split_action $param; ( $basictarget, $param ) = get_target_param $action;