]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: reorder struct
authorVictor Julien <vjulien@oisf.net>
Thu, 27 Feb 2025 10:37:14 +0000 (11:37 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 29 Mar 2025 05:38:03 +0000 (06:38 +0100)
src/detect.h

index f728cfe8e2e5fa2a7d1e54a1a20a7e44ea18814b..8b03c8df5ae9e9d36afd3e920cae309e5bcec382 100644 (file)
@@ -636,14 +636,15 @@ typedef struct Signature_ {
     /** addresses, ports and proto this sig matches on */
     DetectProto proto;
 
-    /** classification id **/
-    uint16_t class_id;
-
     /** ipv4 match arrays */
     uint16_t addr_dst_match4_cnt;
     uint16_t addr_src_match4_cnt;
     uint16_t addr_dst_match6_cnt;
     uint16_t addr_src_match6_cnt;
+
+    /** classification id **/
+    uint16_t class_id;
+
     DetectMatchAddressIPv4 *addr_dst_match4;
     DetectMatchAddressIPv4 *addr_src_match4;
     /** ipv6 match arrays */