forked from extern/shorewall_code
Don't copy a chain that has a single RETURN rule.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
4ed5c5fdfe
commit
f61f5a8183
@ -2962,7 +2962,7 @@ sub optimize_level4( $$ ) {
|
||||
# now on.
|
||||
#
|
||||
$chainref->{optflags} |= DONT_OPTIMIZE;
|
||||
} else {
|
||||
} elsif ( ! ( $chainref->{optflags} & DONT_MOVE ) ) {
|
||||
#
|
||||
# Replace references to this chain with the target and add the matches
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user