]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/content: minor code/comment cleanups
authorVictor Julien <vjulien@oisf.net>
Fri, 22 Sep 2023 07:48:56 +0000 (09:48 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 1 Dec 2023 13:55:42 +0000 (14:55 +0100)
src/detect-engine-content-inspection.c

index 242ad03fa120aed2a1db00d4d092243f5776abde..90e55c86f450542d9fa77cc7701a07a53a69c70e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2017 Open Information Security Foundation
+/* Copyright (C) 2007-2023 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
 /**
  * \brief Run the actual payload match functions
  *
- * The following keywords are inspected:
- * - content, including all the http and dce modified contents
- * - isdataat
- * - pcre
- * - bytejump
- * - bytetest
- * - byte_extract
- * - urilen
- * -
- *
  * All keywords are evaluated against the buffer with buffer_len.
  *
  * For accounting the last match in relative matching the
@@ -124,7 +114,6 @@ int DetectEngineContentInspectionInternal(DetectEngineCtx *de_ctx, DetectEngineT
         SCReturnInt(0);
     }
 
-    /* \todo unify this which is phase 2 of payload inspection unification */
     if (smd->type == DETECT_CONTENT) {
         const DetectContentData *cd = (const DetectContentData *)smd->ctx;
         SCLogDebug("inspecting content %"PRIu32" buffer_len %"PRIu32, cd->id, buffer_len);