From af228806fc7c945200654e89dbecfc04521b10d9 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 5 May 2012 08:56:26 -0700 Subject: [PATCH] Allow manual changes to be used in macros. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index 83f8279e8..9d9ceb6b1 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -1589,7 +1589,7 @@ sub process_macro ( $$$$$$$$$$$$$$$$$$ ) { my $actiontype = $targets{$action} || find_macro( $action ); - fatal_error "Invalid Action ($mtarget) in macro" unless $actiontype & ( ACTION + STANDARD + NATRULE + MACRO ); + fatal_error "Invalid Action ($mtarget) in macro" unless $actiontype & ( ACTION + STANDARD + NATRULE + MACRO + CHAIN ); if ( $msource ) { if ( $msource eq '-' ) {