]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect-flowvar: shrink mem structure by 8 bytes
authorVictor Julien <victor@inliniac.net>
Fri, 25 Mar 2016 11:58:55 +0000 (12:58 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 5 Apr 2016 07:37:43 +0000 (09:37 +0200)
src/detect.h

index 3bee26fcd93eb54edd032fa25db69cbd36c862d2..e321d5ca1d2a178c5c0298d644b52d6cc44ad1f0 100644 (file)
@@ -461,9 +461,9 @@ typedef struct DetectReplaceList_ {
 typedef struct DetectFlowvarList_ {
     uint16_t idx;                       /**< flowvar name idx */
     uint16_t len;                       /**< data len */
+    int type;                           /**< type of store candidate POSTMATCH or ALWAYS */
     uint8_t *buffer;                    /**< alloc'd buffer, may be freed by
                                              post-match, post-non-match */
-    int type;                           /**< type of store candidate POSTMATCH or ALWAYS */
     struct DetectFlowvarList_ *next;
 } DetectFlowvarList;