summaryrefslogtreecommitdiff
path: root/plugin/business/doh/src
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2024-02-29 11:25:36 +0800
committerfengweihao <[email protected]>2024-02-29 11:25:36 +0800
commiteb70e87583edda1c894e9a3d5e40da9571770de9 (patch)
tree2d7ea472c71098f42a34938f523410c628fd359e /plugin/business/doh/src
parentddb41ce22f506114eb702fcb132178602d773591 (diff)
TSG-19480 修复Metric中命中策略统计和Throughput的时机不一致,造成界面展示歧义v4.8.67-20240301
TSG-19540 修复Manipulation策略中Protocol选择UDP/ICMP时,选择非无法命中策略 TSG-19337 界面展示一致性,Proxy的Manipulate日志中的IP Protocol统一小写
Diffstat (limited to 'plugin/business/doh/src')
-rw-r--r--plugin/business/doh/src/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/business/doh/src/logger.cpp b/plugin/business/doh/src/logger.cpp
index 8dad40c..9420413 100644
--- a/plugin/business/doh/src/logger.cpp
+++ b/plugin/business/doh/src/logger.cpp
@@ -399,7 +399,7 @@ int doh_send_log(struct doh_conf *handle, const struct tfe_http_session *http, c
tfe_stream_info_get(stream, INFO_FROM_UPSTREAM_RX_OFFSET, &s2c_byte_num, sizeof(s2c_byte_num));
cJSON_AddStringToObject(common_obj, "decoded_as", "HTTP");
- cJSON_AddStringToObject(common_obj, "ip_protocol", "TCP");
+ cJSON_AddStringToObject(common_obj, "ip_protocol", "tcp");
cJSON_AddNumberToObject(common_obj, "out_link_id", 0);
cJSON_AddNumberToObject(common_obj, "in_link_id", 0);
cJSON_AddStringToObject(common_obj, "sled_ip", handle->kafka_logger->local_ip_str);