mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-19 03:01:10 +01:00
Finish last change.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f0d101605b
commit
d354560863
@ -1480,7 +1480,7 @@ sub conditionally_move_rules( $$ ) {
|
|||||||
# The passed chain is branched to with a rule containing '-s'. If the chain has any rule that also contains '-s' then
|
# The passed chain is branched to with a rule containing '-s'. If the chain has any rule that also contains '-s' then
|
||||||
# mark the chain as "don't optimize".
|
# mark the chain as "don't optimize".
|
||||||
#
|
#
|
||||||
sub check_dnat_optimization( $ ) {
|
sub check_optimization( $ ) {
|
||||||
|
|
||||||
if ( $config{OPTIMIZE} & 4 ) {
|
if ( $config{OPTIMIZE} & 4 ) {
|
||||||
my $chainref = shift;
|
my $chainref = shift;
|
||||||
|
Loading…
Reference in New Issue
Block a user