mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-16 19:30:44 +01:00
Fix qualified action in Macro
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6288 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
77ce1b5a43
commit
b557ba02c8
@ -808,14 +808,7 @@ sub process_macro ( $$$$$$$$$$$$ ) {
|
||||
my $action = isolate_basic_target $mtarget;
|
||||
my $actiontype = $targets{$action} || 0;
|
||||
|
||||
if ( $actiontype & ACTION ) {
|
||||
unless ( $usedactions{$action} ) {
|
||||
createactionchain $mtarget;
|
||||
$usedactions{$mtarget} = 1;
|
||||
}
|
||||
|
||||
$mtarget = find_logactionchain $mtarget;
|
||||
} else {
|
||||
unless ( $actiontype & ACTION ) {
|
||||
fatal_error "Invalid Action ($mtarget)" unless $actiontype & ( STANDARD + NATRULE );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user