]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
decode/icmpv4: no need to pack the structure
authorVictor Julien <vjulien@oisf.net>
Thu, 4 Apr 2024 07:00:03 +0000 (09:00 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 8 Apr 2024 12:53:38 +0000 (14:53 +0200)
src/decode-icmpv4.h

index 87bcd9bd75c5d96907ab1fd35b473137b663fdf2..1f4f486298ed853adee2cc3b101d68c00b9a34d0 100644 (file)
@@ -166,7 +166,7 @@ typedef struct ICMPV4Hdr_
     uint8_t  type;
     uint8_t  code;
     uint16_t checksum;
-} __attribute__((__packed__)) ICMPV4Hdr;
+} ICMPV4Hdr;
 
 /* ICMPv4 header structure */
 typedef struct ICMPV4ExtHdr_