From 0b53a19c81e5f24572f3ff899b796a36ab2797d8 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Sun, 27 Apr 2025 08:53:34 -0400 Subject: [PATCH] detect/ftp: Set buffer desc for ftp.dynamic_port Ensure that the buffer description is set for the ftp.dynamic_port keyword. --- src/detect-ftp-dynamic-port.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.47.2