From: Philippe Antoine Date: Thu, 21 Jan 2021 13:44:33 +0000 (+0100) Subject: ftp: ftp-data recognized by StringToAppProto X-Git-Tag: suricata-7.0.0-beta1~1838 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5782%2Fhead;p=thirdparty%2Fsuricata.git ftp: ftp-data recognized by StringToAppProto --- diff --git a/src/app-layer-protos.c b/src/app-layer-protos.c index d6b2618e8f..ecb00684ae 100644 --- a/src/app-layer-protos.c +++ b/src/app-layer-protos.c @@ -140,6 +140,8 @@ AppProto StringToAppProto(const char *proto_name) if (strcmp(proto_name,"http")==0) return ALPROTO_HTTP; if (strcmp(proto_name,"ftp")==0) return ALPROTO_FTP; + if (strcmp(proto_name, "ftp-data") == 0) + return ALPROTO_FTPDATA; if (strcmp(proto_name,"smtp")==0) return ALPROTO_SMTP; if (strcmp(proto_name,"tls")==0) return ALPROTO_TLS; if (strcmp(proto_name,"ssh")==0) return ALPROTO_SSH;