forked from extern/shorewall_code
Don't invoke 4.5 optimization under 4.4.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ae31a09e8b
commit
57672d096c
@ -869,19 +869,6 @@ sub compiler {
|
|||||||
} else {
|
} else {
|
||||||
if ( $preview ) {
|
if ( $preview ) {
|
||||||
generate_matrix;
|
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;
|
preview_netfilter_load;
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user