From e3ae4b005e50447de1be7c641346c540b922fbee Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 2 May 2025 15:00:04 +0200 Subject: [PATCH] detect/ftpbounce: reuse generic hook --- src/detect-ftpbounce.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/detect-ftpbounce.c b/src/detect-ftpbounce.c index db54c71182..90d53182e2 100644 --- a/src/detect-ftpbounce.c +++ b/src/detect-ftpbounce.c @@ -67,10 +67,7 @@ void DetectFtpbounceRegister(void) sigmatch_table[DETECT_FTPBOUNCE].url = "/rules/ftp-keywords.html#ftpbounce"; sigmatch_table[DETECT_FTPBOUNCE].flags = SIGMATCH_NOOPT; - g_ftp_request_list_id = DetectBufferTypeRegister("ftp_request"); - - DetectAppLayerInspectEngineRegister( - "ftp_request", ALPROTO_FTP, SIG_FLAG_TOSERVER, 0, DetectEngineInspectGenericList, NULL); + g_ftp_request_list_id = DetectBufferTypeGetByName("ftp:request_complete:generic"); } /** -- 2.47.3