Assume LOG if a level is specified with INLINE.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-04-11 14:16:34 -07:00
parent 35b0b4a4f9
commit 614c5e6155

View File

@ -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;