Skip to content

Commit

Permalink
detect/content: minor code/comment cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Dec 1, 2023
1 parent 8ba7f23 commit 3d7e092
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/detect-engine-content-inspection.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3d7e092

Please sign in to comment.