diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 4ec6375..91e7eba 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -1220,6 +1220,16 @@ static int identify_application_protocol(const struct streaminfo *a_stream, stru } } + if(g_tsg_para.proto_flag&(1<ptcpdetail->pdata, (unsigned int)a_stream->ptcpdetail->datalen,g_tsg_para.logger); + if(ret > 0) + { + context->proto=PROTO_SSH; + return 1; + } + } + break; case STREAM_TYPE_UDP: if(g_tsg_para.proto_flag&(1<ptcpdetail->pdata, (unsigned int)a_stream->ptcpdetail->datalen,g_tsg_para.logger); - if(ret > 0) - { - context->proto=PROTO_SSH; - return 1; - } - } if(g_tsg_para.proto_flag&(1<