From 0c0356f5478e8aeb3221891dea6fa04b2261ac5a Mon Sep 17 00:00:00 2001 From: fengweihao Date: Fri, 9 Aug 2024 10:20:36 +0800 Subject: [PATCH] =?UTF-8?q?TSG-22127=20VerifyPolicy=E8=8E=B7=E5=8F=96Not?= =?UTF-8?q?=20logic=E5=90=8E=E7=9A=84=E5=91=BD=E4=B8=AD=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/src/verify_matcher.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/src/verify_matcher.cpp b/platform/src/verify_matcher.cpp index f9e1f07..3d70c53 100644 --- a/platform/src/verify_matcher.cpp +++ b/platform/src/verify_matcher.cpp @@ -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;