From: Victor Julien Date: Fri, 22 Sep 2023 07:48:56 +0000 (+0200) Subject: detect/content: minor code/comment cleanups X-Git-Tag: suricata-8.0.0-beta1~1995 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d7e0927bfb27c8e114032516f55297b56563d2a;p=thirdparty%2Fsuricata.git detect/content: minor code/comment cleanups --- diff --git a/src/detect-engine-content-inspection.c b/src/detect-engine-content-inspection.c index 242ad03fa1..90e55c86f4 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);