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