diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index f617795c0..9010c5ddf 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -944,13 +944,14 @@ sub add_policy_rules( $$$$$ ) { # # Default action is an inline # + ( undef, my $level ) = split /:/, $paction, 2; ( $action, my $param ) = get_target_param( $action ); process_inline( $action, #Inline $chainref, #Chain '', #Matches '', #Matches1 - $loglevel, #Log Level and Tag + $level || '', #Log Level and Tag $paction, #Target $param || '', #Param '-', #Source