summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2020-09-14 09:34:01 +0800
committerliuxueli <[email protected]>2020-09-14 09:34:01 +0800
commit0860def07a2fa88fe8a65bed410612f33cf83d56 (patch)
treee0ed2a27ede443ca4bfdd248683c1c0e9a7d040b
parentabcc94dc2523f7b3e9e1a01a8c3a8b892c5651f0 (diff)
修正笔误v3.2.7.20.09
-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 a15b276..db0a2bc 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -511,7 +511,7 @@ static int identify_application_protocol(struct streaminfo *a_stream, struct _id
if(ja3_info!=NULL)
{
identify_info->proto=PROTO_SSL;
- if(ja3_info->sni==NULL || ja3_info->sni<=0)
+ if(ja3_info->sni==NULL || ja3_info->sni_len<=0)
{
identify_info->domain_len = 0;
}