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