From: Victor Julien Date: Thu, 27 Feb 2025 10:37:14 +0000 (+0100) Subject: detect: reorder struct X-Git-Tag: suricata-8.0.0-beta1~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=682f1aac84afbe5d53139ea428093888d9b2ae31;p=thirdparty%2Fsuricata.git detect: reorder struct --- diff --git a/src/detect.h b/src/detect.h index f728cfe8e2..8b03c8df5a 100644 --- a/src/detect.h +++ b/src/detect.h @@ -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 */