]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
transform: fixes comment about compress_whitespace
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 7 Nov 2019 16:10:14 +0000 (17:10 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 5 Dec 2019 12:41:11 +0000 (13:41 +0100)
src/detect-transform-compress-whitespace.c

index 6121f787a85a7daf2ad9a4349c90d455baf8dd7b..ada53cb5b8fae4aba2a732f911296ad30d8e3e68 100644 (file)
@@ -20,7 +20,7 @@
  *
  * \author Victor Julien <victor@inliniac.net>
  *
- * Implements the nocase keyword
+ * Implements the compress_whitespace tranform keyword
  */
 
 #include "suricata-common.h"
@@ -43,7 +43,7 @@ void DetectTransformCompressWhitespaceRegister(void)
 {
     sigmatch_table[DETECT_TRANSFORM_COMPRESS_WHITESPACE].name = "compress_whitespace";
     sigmatch_table[DETECT_TRANSFORM_COMPRESS_WHITESPACE].desc =
-        "modify buffer to commpress consecutive whitespace characters "
+        "modify buffer to compress consecutive whitespace characters "
         "into a single one before inspection";
     sigmatch_table[DETECT_TRANSFORM_COMPRESS_WHITESPACE].url =
         DOC_URL DOC_VERSION "/rules/transforms.html#compress-whitespace";
@@ -59,7 +59,7 @@ void DetectTransformCompressWhitespaceRegister(void)
 
 /**
  *  \internal
- *  \brief Apply the nocase keyword to the last pattern match, either content or uricontent
+ *  \brief Apply the compress_whitespace keyword to the last pattern match
  *  \param det_ctx detection engine ctx
  *  \param s signature
  *  \param nullstr should be null