From: Jeff Lucovsky Date: Fri, 23 Aug 2019 00:09:03 +0000 (-0400) Subject: eve/ftp: Modifications for MPM-enabled command descriptor table X-Git-Tag: suricata-5.0.0-rc1~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc5e9ca17961970e7c425d036927799c5895ce26;p=thirdparty%2Fsuricata.git eve/ftp: Modifications for MPM-enabled command descriptor table --- diff --git a/src/output-json-ftp.c b/src/output-json-ftp.c index 251d5f878d..cefa428f66 100644 --- a/src/output-json-ftp.c +++ b/src/output-json-ftp.c @@ -86,8 +86,7 @@ static json_t *JsonFTPLogCommand(Flow *f, FTPTransaction *tx) } } - json_object_set_new(cjs, "command", - json_string(tx->command_descriptor->command_name_upper)); + json_object_set_new(cjs, "command", json_string(tx->command_descriptor->command_name)); uint32_t min_length = tx->command_descriptor->command_length + 1; /* command + space */ if (tx->request_length > min_length) { json_object_set_new(cjs, "command_data",