mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 12:50:57 +01:00
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…
Reference in New Issue
Block a user