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:
teastep 2007-05-08 18:36:31 +00:00
parent 77ce1b5a43
commit b557ba02c8

View File

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