decode/icmpv4: put embedded pointer first

Reduce gaps in the structure.

Ticket: #6938.
pull/10971/head
Victor Julien 6 months ago committed by Victor Julien
parent 13281109e3
commit d89d4ceb3c

@ -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;

Loading…
Cancel
Save