From 0b47f4c561245843119e614e27db1a78fb780006 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Tue, 14 May 2024 10:45:03 +0800 Subject: [PATCH] =?UTF-8?q?TSG-21225=20=E4=BF=AE=E5=A4=8D=E5=BD=93External?= =?UTF-8?q?=E4=BB=85=E8=AE=BE=E7=BD=AEASN=E6=97=B6=EF=BC=8C=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=80=9A=E8=BF=87External=20IP=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E5=88=B0=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/src/verify_matcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/src/verify_matcher.cpp b/platform/src/verify_matcher.cpp index eb5a608..0046376 100644 --- a/platform/src/verify_matcher.cpp +++ b/platform/src/verify_matcher.cpp @@ -1550,7 +1550,7 @@ int ip_asn_scan(struct policy_scan_ctx * ctx, int vsys_id, int table_id, struct } else { - table_id = (table_id==TSG_OBJ_INTERNAL_ADDR)?TSG_OBJ_INTERNAL_ASN:TSG_OBJ_EXTERNAL_ADDR; + table_id = (table_id==TSG_OBJ_INTERNAL_ADDR)?TSG_OBJ_INTERNAL_ASN:TSG_OBJ_EXTERNAL_ASN; } scan_ret=maat_scan_group(g_policy_rt->feather[vsys_id], g_policy_rt->scan_table_id[table_id], &hit_group, 1, ctx->result+hit_cnt+hit_cnt_ip, MAX_SCAN_RESULT-hit_cnt-hit_cnt_ip, &n_hit_result, ctx->scan_mid);