summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-10-23 18:39:01 +0800
committerliuxueli <[email protected]>2023-10-23 18:39:01 +0800
commitda86af05e1738e0584c6917d7eba1bfc8e511a70 (patch)
tree7625927b58390ed03372f283414e62e05f36a074
parentdae9c9b6c5aa0e0eef4496664b2bdecbc01364f6 (diff)
TSG-17171,TSG-17415: 修复笔误,statistics policy的命中结果未正常处理HEADv6.1.15master
-rw-r--r--src/tsg_entry.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}