From bc7909e57bba412ff1f7f5d323f5c44c20486d3a Mon Sep 17 00:00:00 2001 From: 刘学利 Date: Sat, 27 May 2023 03:13:50 +0000 Subject: TSG-15152: 在发送日志统计命中策略的信息,避免统计遗漏 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_send_log.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tsg_send_log.cpp') diff --git a/src/tsg_send_log.cpp b/src/tsg_send_log.cpp index 7278af7..8bf86ff 100644 --- a/src/tsg_send_log.cpp +++ b/src/tsg_send_log.cpp @@ -2148,6 +2148,11 @@ int send_event_log(struct tsg_log_instance_t *_instance, struct TLD_handle_t *_h continue; } + if(a_stream!=NULL) + { + tsg_set_policy_flow(a_stream, &(rules[i]), thread_id); + } + switch(rules[i].do_log) { case LOG_ABORT: -- cgit v1.2.3