From fc17f73bff62912ef7ce8b2ad9b9894922c7be2a Mon Sep 17 00:00:00 2001 From: fengweihao Date: Thu, 14 Mar 2024 16:32:09 +0800 Subject: [PATCH] =?UTF-8?q?TSG-19907=20Proxy=E6=97=A5=E5=BF=97=E4=B8=ADASN?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=A1=AB=E5=86=99=E9=94=99=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E5=8F=AA=E9=9C=80=E5=A1=AB=E5=86=99ASNUMER?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/tfe_scan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/tfe_scan.cpp b/common/src/tfe_scan.cpp index 1c43f93..ce9bdf7 100644 --- a/common/src/tfe_scan.cpp +++ b/common/src/tfe_scan.cpp @@ -222,7 +222,7 @@ int tfe_scan_ip_asn(const struct tfe_stream *stream, long long *result, struct m hit_cnt_ip += n_hit_result; } memset(buff, 0, sizeof(buff)); - snprintf(buff, sizeof(buff), "%s(%s)", dst_asn, dst_org); + snprintf(buff, sizeof(buff), "%s", dst_asn); *asn_server = tfe_strdup(buff); } if (strlen(src_asn)) @@ -248,7 +248,7 @@ int tfe_scan_ip_asn(const struct tfe_stream *stream, long long *result, struct m hit_cnt_ip += n_hit_result; } memset(buff, 0, sizeof(buff)); - snprintf(buff, sizeof(buff), "%s(%s)", src_asn, src_org); + snprintf(buff, sizeof(buff), "%s", src_asn); *asn_client = tfe_strdup(buff); } return hit_cnt_ip;