From 0860def07a2fa88fe8a65bed410612f33cf83d56 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Mon, 14 Sep 2020 09:34:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }