]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/config: remove filestore reference from comments
authorVictor Julien <vjulien@oisf.net>
Sat, 24 May 2025 05:43:14 +0000 (07:43 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 10 Jun 2025 06:36:36 +0000 (08:36 +0200)
src/detect-config.c

index 89bb2b3b67d99c9b1d724f044f23df6fc188888f..fe6bade3e607f0c41e1378f31dd6ce0cd2c37e97 100644 (file)
@@ -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();