From: Jeff Lucovsky Date: Sun, 27 Apr 2025 12:53:34 +0000 (-0400) Subject: detect/ftp: Set buffer desc for ftp.dynamic_port X-Git-Tag: suricata-8.0.0-rc1~290 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13231%2Fhead;p=thirdparty%2Fsuricata.git detect/ftp: Set buffer desc for ftp.dynamic_port Ensure that the buffer description is set for the ftp.dynamic_port keyword. --- diff --git a/src/detect-ftp-dynamic-port.c b/src/detect-ftp-dynamic-port.c index e3f7c0e7b9..595ea977ac 100644 --- a/src/detect-ftp-dynamic-port.c +++ b/src/detect-ftp-dynamic-port.c @@ -111,6 +111,8 @@ void DetectFtpDynamicPortRegister(void) DetectAppLayerInspectEngineRegister( BUFFER_NAME, ALPROTO_FTP, SIG_FLAG_TOSERVER, 0, DetectEngineInspectGenericList, NULL); + DetectBufferTypeSetDescriptionByName(BUFFER_NAME, BUFFER_DESC); + g_ftp_dynport_buffer_id = DetectBufferTypeGetByName(BUFFER_NAME); SCLogDebug("registering " BUFFER_NAME " rule option");