diff options
| author | liuxueli <[email protected]> | 2023-10-23 18:39:01 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2023-10-23 18:39:01 +0800 |
| commit | da86af05e1738e0584c6917d7eba1bfc8e511a70 (patch) | |
| tree | 7625927b58390ed03372f283414e62e05f36a074 /src | |
| parent | dae9c9b6c5aa0e0eef4496664b2bdecbc01364f6 (diff) | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/tsg_entry.cpp | 2 |
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); } |
