From c3d8cba04235d3d9bb6095aa697bcbe94ffbb13f Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 23 Feb 2018 15:01:47 -0800 Subject: [PATCH] Reverse the order of optimize 8 and optimize 16 application Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index a824085be..e68c172e8 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -4570,8 +4570,8 @@ sub optimize_ruleset() { my $optimize = $config{OPTIMIZE}; $passes = optimize_level4( $table, $tableref ) if $optimize & 4; - $passes = optimize_level8( $table, $tableref , $passes ) if $optimize & 8; $passes = optimize_level16( $table, $tableref , $passes ) if $optimize & 16; + $passes = optimize_level8( $table, $tableref , $passes ) if $optimize & 8; progress_message " Table $table Optimized -- Passes = $passes"; progress_message '';