forked from extern/shorewall_code
Only apply log level to bare LOG rules in default-action macro.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
fb3194d96b
commit
5acf0f60e7
@ -1656,7 +1656,11 @@ sub process_macro ($$$$$$$$$$$$$$$$$$$) {
|
||||
next;
|
||||
}
|
||||
|
||||
unless ( $section eq 'DEFAULTACTION' ) {
|
||||
$mtarget = merge_levels $target, $mtarget;
|
||||
} else {
|
||||
$mtarget = merge_levels( $target, $mtarget ) if $mtarget eq 'LOG';
|
||||
}
|
||||
|
||||
if ( $mtarget =~ /^PARAM(:.*)?$/ ) {
|
||||
fatal_error 'PARAM requires a parameter to be supplied in macro invocation' unless $param ne '';
|
||||
|
Loading…
Reference in New Issue
Block a user