]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
adding '#if 0' around previously deleted FIXIT in snort.cc
authorJosh <jrosenba@cisco.com>
Thu, 14 Aug 2014 15:19:36 +0000 (11:19 -0400)
committerJosh <jrosenba@cisco.com>
Thu, 14 Aug 2014 15:19:36 +0000 (11:19 -0400)
src/main/snort.cc

index a3541a221eb2fdd38a8b017ef353c3e5a55eec02..6948a6aeb552f5966e2e06e2bbaf7daeb453a826 100644 (file)
@@ -816,6 +816,12 @@ DAQ_Verdict ProcessPacket(
     if ( !p->proto_bits )
         p->proto_bits = PROTO_BIT__OTHER;
 
+#if 0
+    // FIXIT required until decoders are fixed
+    else if ( !p->family && (p->proto_bits & PROTO_BIT__IP) )
+        p->proto_bits &= ~PROTO_BIT__IP;
+#endif
+
     set_policy(p);
 
     p->user_policy_id = get_ips_policy()->user_policy_id;