mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-26 15:39:10 +01:00
Tweak to an RE used in optimization
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9ec5f36549
commit
d4936f4bad
@ -1594,7 +1594,7 @@ sub optimize_ruleset() {
|
|||||||
replace_references $chainref, $1;
|
replace_references $chainref, $1;
|
||||||
$progress = 1;
|
$progress = 1;
|
||||||
}
|
}
|
||||||
} elsif ( $firstrule =~ /-A $chainref->{name}( .*) -[jg] (.*)$/ ) {
|
} elsif ( $firstrule =~ /-A $chainref->{name}( +.+) -[jg] (.*)$/ ) {
|
||||||
#
|
#
|
||||||
# Not so easy -- the rule contains matches
|
# Not so easy -- the rule contains matches
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user