]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flow: remove unused alversion fields
authorVictor Julien <victor@inliniac.net>
Mon, 27 Feb 2017 22:51:31 +0000 (23:51 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 25 Mar 2017 08:12:57 +0000 (09:12 +0100)
src/flow-util.h
src/flow.h

index dfbba64cb1b978735a903128812653a4d60dde99..6258a01959c6b982c7f5dbf119c0f42123c7a4c9 100644 (file)
@@ -57,8 +57,6 @@
         (f)->alproto_tc = 0; \
         (f)->de_ctx_version = 0; \
         (f)->thread_id = 0; \
-        (f)->detect_alversion[0] = 0; \
-        (f)->detect_alversion[1] = 0; \
         (f)->alparser = NULL; \
         (f)->alstate = NULL; \
         (f)->sgh_toserver = NULL; \
@@ -99,8 +97,6 @@
         (f)->alproto_tc = 0; \
         (f)->de_ctx_version = 0; \
         (f)->thread_id = 0; \
-        (f)->detect_alversion[0] = 0; \
-        (f)->detect_alversion[1] = 0; \
         (f)->sgh_toserver = NULL; \
         (f)->sgh_toclient = NULL; \
         GenericVarFree((f)->flowvar); \
index b12554135d927ec54828dea6b440998b4957e675..a490a82427cbec9564665f5a3af8dc83ea24d0d7 100644 (file)
@@ -392,9 +392,6 @@ typedef struct Flow_
     /** Thread ID for the stream/detect portion of this flow */
     FlowThreadId thread_id;
 
-    /** detect state 'alversion' inspected for both directions */
-    uint8_t detect_alversion[2];
-
     /** application level storage ptrs.
      *
      */