Don't invoke 4.5 optimization under 4.4.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-01-12 15:47:14 -08:00
parent ae31a09e8b
commit 57672d096c

View File

@ -869,19 +869,6 @@ sub compiler {
} else {
if ( $preview ) {
generate_matrix;
if ( $config{OPTIMIZE} & 6 ) {
progress_message2 'Optimizing Ruleset...';
#
# Optimize Policy Chains
#
optimize_policy_chains if $config{OPTIMIZE} & 2;
#
# More Optimization
#
optimize_ruleset if $config{OPTIMIZE} & 4;
}
preview_netfilter_load;
}
#