From e69de13eff3d56a3c1ba144548a88f55ff64f845 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 19 Feb 2011 15:44:39 -0800 Subject: [PATCH] Fix common-rule/action2 processing order --- Shorewall/Perl/Shorewall/Compiler.pm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index be0dbe882..48d790e03 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -645,10 +645,6 @@ sub compiler { # validate_policy; # - # Process policy actions - # - process_actions2; - # # N O T R A C K # (Produces no output to the compiled script) # @@ -678,6 +674,14 @@ sub compiler { # add_common_rules; # + # Process policy actions + # + disable_script; + + process_actions2; + + enable_script; + # # More /proc # if ( $family == F_IPV4 ) {