From: Ken Steele Date: Fri, 5 Sep 2014 21:21:28 +0000 (-0400) Subject: Move type first in SigMatch array since it is used more often. X-Git-Tag: suricata-2.1beta3~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa51118dfe05bc83afbe3732e3d03953a8280167;p=thirdparty%2Fsuricata.git Move type first in SigMatch array since it is used more often. --- diff --git a/src/detect.h b/src/detect.h index c5a8de1805..b03a492949 100644 --- a/src/detect.h +++ b/src/detect.h @@ -366,8 +366,8 @@ typedef struct SignatureHeader_ { /** \brief a single match condition for a signature */ typedef struct SigMatch_ { - uint16_t idx; /**< position in the signature */ uint8_t type; /**< match type */ + uint16_t idx; /**< position in the signature */ void *ctx; /**< plugin specific data */ struct SigMatch_ *next; struct SigMatch_ *prev;