TSG-17171,TSG-17415: 修复笔误,statistics policy的命中结果未正常处理

This commit is contained in:
liuxueli
2023-10-23 18:39:01 +08:00
parent dae9c9b6c5
commit da86af05e1

View File

@@ -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);
}