]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect-rawbytes: add rawbytes doc help output
authorAndreas Herz <andi@geekosphere.org>
Thu, 22 Oct 2020 20:40:10 +0000 (22:40 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 20 Apr 2021 08:28:52 +0000 (10:28 +0200)
src/detect-rawbytes.c

index 738eb365aa460217fdc9b7ef5556e7058a0f8414..f3b2ded8a8fce3b061f6688d405786917dfa790a 100644 (file)
@@ -43,6 +43,9 @@ static int DetectRawbytesSetup(DetectEngineCtx *, Signature *, const char *);
 void DetectRawbytesRegister(void)
 {
     sigmatch_table[DETECT_RAWBYTES].name = "rawbytes";
+    sigmatch_table[DETECT_RAWBYTES].desc =
+            "dummy keyword to be compatible with snort signatures without effect";
+    sigmatch_table[DETECT_RAWBYTES].url = "/rules/payload-keywords.html#rawbytes";
     sigmatch_table[DETECT_RAWBYTES].Setup = DetectRawbytesSetup;
     sigmatch_table[DETECT_RAWBYTES].flags |= SIGMATCH_NOOPT;
 }