fix maat_scan_intval maat_state bug

This commit is contained in:
liuwentan
2023-02-23 19:10:23 +08:00
parent ddfd0a503d
commit 6f4b88d690

View File

@@ -472,7 +472,7 @@ int interval_runtime_scan(struct interval_runtime *interval_rt, int thread_id,
for (int i = 0; i < n_hit_item; i++) {
item = (struct maat_item_inner *)(hit_results[i].user_tag);
if (item->district_id == district_id || district_id == DISTRICT_ANY) {
if (item->district_id == district_id || item->district_id == DISTRICT_ANY) {
hit_item_ids[real_hit_item_cnt++] = hit_results[i].rule_id;
}
}