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
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

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