transform: fixes comment about compress_whitespace

pull/4420/head
Philippe Antoine 7 years ago committed by Victor Julien
parent 9126fc25c1
commit c2fdd7c969

@ -20,7 +20,7 @@
* *
* \author Victor Julien <victor@inliniac.net> * \author Victor Julien <victor@inliniac.net>
* *
* Implements the nocase keyword * Implements the compress_whitespace tranform keyword
*/ */
#include "suricata-common.h" #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].name = "compress_whitespace";
sigmatch_table[DETECT_TRANSFORM_COMPRESS_WHITESPACE].desc = 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"; "into a single one before inspection";
sigmatch_table[DETECT_TRANSFORM_COMPRESS_WHITESPACE].url = sigmatch_table[DETECT_TRANSFORM_COMPRESS_WHITESPACE].url =
DOC_URL DOC_VERSION "/rules/transforms.html#compress-whitespace"; DOC_URL DOC_VERSION "/rules/transforms.html#compress-whitespace";
@ -59,7 +59,7 @@ void DetectTransformCompressWhitespaceRegister(void)
/** /**
* \internal * \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 det_ctx detection engine ctx
* \param s signature * \param s signature
* \param nullstr should be null * \param nullstr should be null

Loading…
Cancel
Save