summaryrefslogtreecommitdiff
path: root/src/tsg_send_log.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-05-30 11:06:13 +0800
committerliuxueli <[email protected]>2023-05-30 11:06:13 +0800
commit19cd568817a4b6327ba4f07970bd570197904b65 (patch)
tree3af689fc9ab11418bc3601cd98a91a3606da3417 /src/tsg_send_log.cpp
parent95679fc255f715e17529d8a5763b32427532996c (diff)
TSG-15289: 删除拦截策略的metrics统计,由TFE统计
Diffstat (limited to 'src/tsg_send_log.cpp')
-rw-r--r--src/tsg_send_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsg_send_log.cpp b/src/tsg_send_log.cpp
index 2a95733..9ab2cbf 100644
--- a/src/tsg_send_log.cpp
+++ b/src/tsg_send_log.cpp
@@ -2205,7 +2205,7 @@ int send_event_log(struct tsg_log_instance_t *_instance, struct TLD_handle_t *_h
continue;
}
- if(a_stream!=NULL)
+ if(a_stream!=NULL && rules[i].service_id!=TSG_SERVICE_INTERCEPT)
{
tsg_set_policy_flow(a_stream, &(rules[i]), thread_id);
}