From: Victor Julien Date: Sat, 24 May 2025 05:43:14 +0000 (+0200) Subject: detect/config: remove filestore reference from comments X-Git-Tag: suricata-8.0.0-rc1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec6081363c8ae8ee0b573695efc3504763e7a53d;p=thirdparty%2Fsuricata.git detect/config: remove filestore reference from comments --- diff --git a/src/detect-config.c b/src/detect-config.c index 89bb2b3b67..fe6bade3e6 100644 --- a/src/detect-config.c +++ b/src/detect-config.c @@ -56,7 +56,7 @@ #include "output.h" /** - * \brief Regex for parsing our flow options + * \brief Regex for parsing our config keyword options */ #define PARSE_REGEX "^\\s*([A-z_]+)\\s*\\s*([A-z_]+)\\s*(?:,\\s*([A-z_]+)\\s+([A-z_]+))?\\s*(?:,\\s*([A-z_]+)\\s+([A-z_]+))?$" @@ -71,7 +71,7 @@ static void DetectConfigRegisterTests(void); #endif /** - * \brief Registration function for keyword: filestore + * \brief Registers the "config" keyword for detection. */ void DetectConfigRegister(void) { @@ -134,7 +134,7 @@ static void ConfigApplyPacket(Packet *p, const DetectConfigData *config) } /** - * \brief apply the post match filestore with options + * \brief apply the post match config with options */ static int ConfigApply(DetectEngineThreadCtx *det_ctx, Packet *p, const DetectConfigData *config) @@ -374,11 +374,6 @@ static void DetectConfigFree(DetectEngineCtx *de_ctx, void *ptr) } #ifdef UNITTESTS -/* - * The purpose of this test is to confirm that - * filestore and bypass keywords can't - * can't work together - */ static int DetectConfigTest01(void) { DetectEngineCtx *de_ctx = DetectEngineCtxInit();