mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +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.
|
# now on.
|
||||||
#
|
#
|
||||||
$chainref->{optflags} |= DONT_OPTIMIZE;
|
$chainref->{optflags} |= DONT_OPTIMIZE;
|
||||||
} else {
|
} elsif ( ! ( $chainref->{optflags} & DONT_MOVE ) ) {
|
||||||
#
|
#
|
||||||
# Replace references to this chain with the target and add the matches
|
# Replace references to this chain with the target and add the matches
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user