]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3470: detection: remove redundant FIXIT
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 14 Jun 2022 12:40:12 +0000 (12:40 +0000)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Tue, 14 Jun 2022 12:40:12 +0000 (12:40 +0000)
Merge in SNORT/snort3 from ~YVELYKOZ/snort3:detection_fix to master

Squashed commit of the following:

commit f80bb5d5b3bdf39b8ccbb5c9ef2789917571cf8a
Author: Yehor Velykozhon <yvelykoz@cisco.com>
Date:   Wed Jun 8 16:09:10 2022 +0300

    detection: remove redundant FIXIT

src/detection/detection_engine.cc

index c0cfb6418ae658b7980f45e64e0ca012197fd06c..469b26837066525fd59cc498eb5b9318ba4ef2a0 100644 (file)
@@ -622,7 +622,6 @@ bool DetectionEngine::inspect(Packet* p)
         else
         {
             enable_content(p);
-            p->alt_dsize = 0;  // FIXIT-M should be redundant
 
             InspectorManager::execute(p);
             inspected = true;