TSG-22127 VerifyPolicy获取Not logic后的命中路径

This commit is contained in:
fengweihao
2024-08-09 10:20:36 +08:00
parent 8218a43678
commit 0c0356f547

View File

@@ -1746,6 +1746,13 @@ int tunnel_scan(struct request_query_obj *request, struct policy_scan_ctx *ctx,
{
hit_cnt_tunnel+=n_hit_result;
}
if(scan_ret >= MAAT_SCAN_OK)
{
n_read=maat_state_get_hit_paths(ctx->scan_mid, ctx->hit_path, HIT_PATH_SIZE);
request->merge_nth_scan[hit_path_cnt] = maat_state_get_scan_count(ctx->scan_mid);
ctx->n_read=n_read;
hit_path_cnt++;
}
}
ctx->tunnel_attr_count--;
request->merge_nth_scan_num = hit_path_cnt;