]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
FIXIT-M comments
authorRuss Combs <rucombs@cisco.com>
Thu, 6 Nov 2014 10:35:47 +0000 (05:35 -0500)
committerRuss Combs <rucombs@cisco.com>
Thu, 6 Nov 2014 10:35:47 +0000 (05:35 -0500)
src/detection/fpcreate.cc
src/detection/fpdetect.cc

index 27d38db66725d12d49cdbe1a31b1473e70ad1699..503c95e7998996ff28bdb68c37c10881ed684908 100644 (file)
@@ -2586,6 +2586,8 @@ void fpShowEventStats(SnortConfig *sc)
     prmShowEventStats(sc->prmIpRTNX);
 }
 
+// FIXIT-M remove this - if we are to optimize such rules
+// we need a general solution for all header options
 static void fpAddIpProtoOnlyRule(SF_LIST **ip_proto_only_lists, OptTreeNode *otn)
 {
     unsigned int i;
index 3122de0daef0bf272e7349d787b8f34a9d60d184..a1679d28919858c362ff32672338c68843b13551 100644 (file)
@@ -1542,6 +1542,7 @@ int fpEvalPacket(Packet *p)
 
 }
 
+// FIXIT-M delete this - see fpAddIpProtoOnlyRule() for details
 void fpEvalIpProtoOnlyRules(Packet *p, uint8_t proto_id)
 {
     if ((p != NULL) && p->has_ip())