From f8c1b02dbaaa833310ff6b11712278035b0f6a70 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 8 Jan 2013 09:51:32 -0800 Subject: [PATCH] Correct test for optimization in 'check -r' Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Compiler.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index 2cfe0b0ac..cdd2be4b3 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -915,7 +915,7 @@ sub compiler { optimize_level0; - if ( ( my $optimize = $config{OPTIMIZE} & OPTIMIZE_MASK ) ) { + if ( ( my $optimize = $config{OPTIMIZE} ) & 0x1e ) { progress_message2 'Optimizing Ruleset...'; # # Optimize Policy Chains