summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-08-15 15:45:38 +0800
committerliuxueli <[email protected]>2023-08-15 15:45:38 +0800
commit1fa97ef719020dda744235278f90889f2f79fcc3 (patch)
tree760261253d1d1d028c45b770411acb8e6bbc599e
parent9658ca2784958da8ee42c328dbd91a3df0fb3b4c (diff)
修复笔误,shaper rule同步至stat policy enforcerv6.1.2
-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 0a08e84..e91a04b 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -2343,7 +2343,7 @@ static unsigned char tsg_master_all_entry(const struct streaminfo *a_stream, uns
}
struct maat_rule statistics_rules[MAX_RESULT_NUM];
- size_t n_statistics_rules=tsg_select_rules_by_service_id(matched_rules, matched_cnt, statistics_rules, MAX_RESULT_NUM, TSG_SERVICE_SHAPING);
+ size_t n_statistics_rules=tsg_select_rules_by_service_id(matched_rules, matched_cnt, statistics_rules, MAX_RESULT_NUM, TSG_SERVICE_STATISTICS);
if(state==APP_STATE_GIVEME && n_statistics_rules>0)
{
matched_statistics_rules_deal(a_stream, statistics_rules, n_statistics_rules, thread_seq);