From da86af05e1738e0584c6917d7eba1bfc8e511a70 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Mon, 23 Oct 2023 18:39:01 +0800 Subject: [PATCH] =?UTF-8?q?TSG-17171,TSG-17415:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=AC=94=E8=AF=AF=EF=BC=8Cstatistics=20policy=E7=9A=84?= =?UTF-8?q?=E5=91=BD=E4=B8=AD=E7=BB=93=E6=9E=9C=E6=9C=AA=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 8e6c7be..eee1c24 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -1995,7 +1995,7 @@ unsigned char session_matched_rules_deal(const struct streaminfo *a_stream, stru struct maat_rule statistics_rules[MAX_RESULT_NUM]; size_t n_statistics_rules=tsg_select_rules_by_service_id(matched_rules, n_matched_rules, statistics_rules, MAX_RESULT_NUM, TSG_SERVICE_STATISTICS); - if(n_shaping_rules>0) + if(n_statistics_rules>0) { matched_statistics_rules_deal(a_stream, statistics_rules, n_statistics_rules, thread_seq); }