From b557ba02c8d76ad93313de72542c9cbc79424a0a Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 8 May 2007 18:36:31 +0000 Subject: [PATCH] Fix qualified action in Macro git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6288 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Rules.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Shorewall-perl/Shorewall/Rules.pm b/Shorewall-perl/Shorewall/Rules.pm index 10e52e138..89b526ec0 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -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 ); }