From 3d7e0927bfb27c8e114032516f55297b56563d2a Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 22 Sep 2023 09:48:56 +0200 Subject: [PATCH] detect/content: minor code/comment cleanups --- src/detect-engine-content-inspection.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/detect-engine-content-inspection.c b/src/detect-engine-content-inspection.c index 242ad03fa120..90e55c86f450 100644 --- a/src/detect-engine-content-inspection.c +++ b/src/detect-engine-content-inspection.c @@ -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 @@ -68,16 +68,6 @@ /** * \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);