mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 07:08:53 +01:00
Correct another optimizer defect.
- Don't declare command-mode rules as duplicates. Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
697fc001c3
commit
e45fe53705
@ -3396,7 +3396,7 @@ sub delete_duplicates {
|
|||||||
next RULE unless compare_values( $baseref->{$key}, $ruleref->{$key} );
|
next RULE unless compare_values( $baseref->{$key}, $ruleref->{$key} );
|
||||||
}
|
}
|
||||||
|
|
||||||
$duplicate = 1;
|
$duplicate = $ruleref->{mode} == CAT_MODE;;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $duplicate ) {
|
if ( $duplicate ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user