summaryrefslogtreecommitdiff
path: root/src/tsg_entry.cpp
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-07-05 16:42:29 +0800
committerliuxueli <[email protected]>2023-07-05 16:42:29 +0800
commit8b469b61370915e263d466086d2e9d0bad08bfb1 (patch)
tree4f8a1809d43e7538b710c0d3afaee68d9e5c1250 /src/tsg_entry.cpp
parent4237a4a970c521a1a1fc5b0543d343aa69b758b8 (diff)
TSG-15642: 获取原始包返回值逻辑错误导致ICMP数据包未发送v6.0.32
Diffstat (limited to 'src/tsg_entry.cpp')
-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 372082c..3d902c7 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -1754,7 +1754,7 @@ static unsigned char matched_security_rules_deal(const struct streaminfo *a_stre
}
}
- if(srt_process_context->proto==PROTO_HTTP || srt_process_context->proto==PROTO_SSL)
+ if((srt_process_context->proto==PROTO_HTTP || srt_process_context->proto==PROTO_SSL) && state&APP_STATE_DROPME)
{
state|=APP_STATE_KILL_OTHER;
}