From 36121a2e70fd09bc52814ca9eaccd9c1f482997a Mon Sep 17 00:00:00 2001 From: liuxueli Date: Wed, 16 Feb 2022 15:04:31 +0800 Subject: [PATCH] =?UTF-8?q?TSG-9326:=20=E5=A2=9E=E5=8A=A0=E8=AF=86?= =?UTF-8?q?=E5=88=ABFTP=20DATA=E7=9A=84=E9=93=BE=E6=8E=A5=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dftp=E5=8D=8F=E8=AE=AE=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=B2=A1=E6=9C=89=E5=91=BD=E4=B8=AD=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E9=99=90=E9=80=9F=E7=AD=96=E7=95=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 6400ca1..76ce0b9 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -1396,6 +1396,13 @@ static int identify_application_protocol(const struct streaminfo *a_stream, stru context->proto=PROTO_FTP; return 1; } + + ret=ftp_data_identify((struct streaminfo *)a_stream); + if(ret>0) + { + context->proto=PROTO_FTP; + return 1; + } } if(g_tsg_para.proto_flag&(1<