Correct logging in inline policy actions

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2017-03-07 13:37:59 -08:00
parent 073235aa48
commit 928f54d37c

View File

@ -948,13 +948,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