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:
Tom Eastep 2012-11-25 18:00:26 -08:00
parent 697fc001c3
commit e45fe53705

View File

@ -3396,7 +3396,7 @@ sub delete_duplicates {
next RULE unless compare_values( $baseref->{$key}, $ruleref->{$key} );
}
$duplicate = 1;
$duplicate = $ruleref->{mode} == CAT_MODE;;
}
if ( $duplicate ) {