forked from extern/shorewall_code
Correct logging in inline policy actions
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
dbcd4d9d16
commit
0ec7bc846e
@ -944,13 +944,14 @@ sub add_policy_rules( $$$$$ ) {
|
|||||||
#
|
#
|
||||||
# Default action is an inline
|
# Default action is an inline
|
||||||
#
|
#
|
||||||
|
( undef, my $level ) = split /:/, $paction, 2;
|
||||||
( $action, my $param ) = get_target_param( $action );
|
( $action, my $param ) = get_target_param( $action );
|
||||||
|
|
||||||
process_inline( $action, #Inline
|
process_inline( $action, #Inline
|
||||||
$chainref, #Chain
|
$chainref, #Chain
|
||||||
'', #Matches
|
'', #Matches
|
||||||
'', #Matches1
|
'', #Matches1
|
||||||
$loglevel, #Log Level and Tag
|
$level || '', #Log Level and Tag
|
||||||
$paction, #Target
|
$paction, #Target
|
||||||
$param || '', #Param
|
$param || '', #Param
|
||||||
'-', #Source
|
'-', #Source
|
||||||
|
Loading…
Reference in New Issue
Block a user