]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
reprioritize some fixits
authorRuss Combs <rucombs@cisco.com>
Fri, 28 Nov 2014 15:12:53 +0000 (10:12 -0500)
committerRuss Combs <rucombs@cisco.com>
Fri, 28 Nov 2014 15:12:53 +0000 (10:12 -0500)
src/detection/detection_options.cc
src/events/event_wrapper.cc
src/main/policy.h
src/stream/stream_splitter.cc
src/stream/tcp/ips_stream_reassemble.cc

index 74a4815c55cc17510922f8574b2f6acc4dec3680..5a989aa3172d3771dcffa2806466083e34587b61 100644 (file)
@@ -853,7 +853,7 @@ static void detection_option_node_update_otn_stats(
     if (node->option_type == RULE_OPTION_TYPE_LEAF_NODE)
     {
         /* Update stats for this otn */
-        // FIXIT-H should be sum of instances (only called from main thread)
+        // FIXIT-M should be sum of instances (only called from main thread)
         OptTreeNode *otn = (OptTreeNode *)node->option_data;
         OtnState* state = otn->state + get_instance_id();
         state->ticks += local_stats.ticks;
index 81b299f0b078b1737a6e01b417aaa448b8350dc0..bef5e29a3444ed1f92054889939c89febe8802b6 100644 (file)
@@ -75,7 +75,7 @@ uint32_t GenerateSnortEvent(Packet *p, uint32_t gid, uint32_t sid)
 
     fpLogEvent(rtn, otn, p);
 
-    return 0;  //otn->event_data.event_id; // FIXIT-H EVENT
+    return 0;  //otn->event_data.event_id; // FIXIT-M EVENT
 }
 
 /**
index 51a02af005b19f817c92431a1927ddab79a81411..1456f2f96339e771af234c050412c76c453674ab 100644 (file)
@@ -160,7 +160,7 @@ public:
     Shell* get_shell(unsigned i = 0)
     { return i < shells.size() ? shells[i] : nullptr; };
 
-public:  // FIXIT-H make impl private
+public:  // FIXIT-M make impl private
     std::vector<Shell*> shells;
     std::vector<InspectionPolicy*> inspection_policy;
     std::vector<IpsPolicy*> ips_policy;
index 86103c8a5f6b9c23e4dc19b2d0fabc476e530e97..562fb3d2e6ecfe51b893807f0575a8333411d9f0 100644 (file)
@@ -89,7 +89,7 @@ void AtomSplitter::update()
 }
 
 #if 0
-// FIXIT-H this should be part of a new splitter
+// FIXIT-M this should be part of a new splitter
 static inline int CheckFlushCoercion (
     Packet* p, FlushMgr* fm, uint16_t flush_factor
 ) {
index c9bade7ec240de0aa7c22191a9fe7fec261b0f46..6fcf2d84abc916342ab169e4e45563315da5a5d1 100644 (file)
@@ -132,8 +132,8 @@ int ReassembleOption::eval(Cursor&, Packet* pkt)
     }
     else
     {
-        // FIXIT-H PAF need to instantiate service splitter?
-        // FIXIT-H PAF need to check for ips / on-data
+        // FIXIT-M PAF need to instantiate service splitter?
+        // FIXIT-M PAF need to check for ips / on-data
         if ( srod.direction & SSN_DIR_SERVER )
         {
             tcpssn->server.flush_policy = STREAM_FLPOLICY_ON_ACK;