diff options
| author | fengweihao <[email protected]> | 2024-08-09 10:20:36 +0800 |
|---|---|---|
| committer | fengweihao <[email protected]> | 2024-08-09 10:20:36 +0800 |
| commit | 0c0356f5478e8aeb3221891dea6fa04b2261ac5a (patch) | |
| tree | d27824940ea8ae0d8ed48db7a8ac709bfc0f03fb | |
| parent | 8218a43678cce4233114c748b0cdf5819eed69a5 (diff) | |
TSG-22127 VerifyPolicy获取Not logic后的命中路径v4.0.24-20240809
| -rw-r--r-- | platform/src/verify_matcher.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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; |
