mirror of
https://gitlab.com/shorewall/code.git
synced 2025-05-31 06:55:42 +02:00
Fix a bug in the optimizer
This commit is contained in:
parent
59e361e93e
commit
3b7232a5fa
@ -1896,7 +1896,7 @@ sub optimize_level4( $$ ) {
|
||||
#
|
||||
# Chain has a single rule
|
||||
#
|
||||
if ( $firstrule =~ /^-A -[jg] (.*)$/ ) {
|
||||
if ( $firstrule =~ /^-A -[jg] ([^\s])(\s+-m comment .*)?\s*$/ ) {
|
||||
#
|
||||
# Easy case -- the rule is a simple jump
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user