From 8cfc6b32fd40a21062a3f2e9cf23d34bb4a66f3a Mon Sep 17 00:00:00 2001 From: liuxueli Date: Mon, 25 Nov 2019 19:30:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B0=83=E8=AF=95=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 7af7549..e2fa348 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -171,8 +171,8 @@ extern "C" char TSG_MASTER_TCP_ENTRY(struct streaminfo *a_tcp, void **pme, int t RLOG_LV_DEBUG, "SCAN_IP_AND_DOAMIN", "Not hit %s: %s addr: %s", - (ret==0) ? ((identify_info.proto==PROTO_HTTP) ? "host" : "sni") : "NULL", - (ret==0) ? identify_info.domain : "NULL", + (ret==-1) ? "NULL" : ((identify_info.proto==PROTO_HTTP) ? "host" : "sni"), + (ret==-1) ? "NULL" : identify_info.domain, printaddr(&a_tcp->addr, thread_seq) ); }