From d89d4ceb3ca1d9a4a87c6cb9888c7d65d5b54052 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 11 Apr 2024 16:51:12 +0200 Subject: [PATCH] decode/icmpv4: put embedded pointer first Reduce gaps in the structure. Ticket: #6938. --- src/decode-icmpv4.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/decode-icmpv4.h b/src/decode-icmpv4.h index 95f3c404e2..a87e7a09b1 100644 --- a/src/decode-icmpv4.h +++ b/src/decode-icmpv4.h @@ -181,15 +181,15 @@ typedef struct ICMPV4ExtHdr_ /* ICMPv4 vars */ typedef struct ICMPV4Vars_ { + /** Pointers to the embedded packet headers */ + IPV4Hdr *emb_ipv4h; + uint16_t id; uint16_t seq; /** Actual header length **/ uint16_t hlen; - /** Pointers to the embedded packet headers */ - IPV4Hdr *emb_ipv4h; - uint8_t emb_ip4_proto; bool emb_ports_set;