From 9dd200b5c97b7b2218331b3407317fa9520d8215 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 29 Mar 2019 14:44:15 +0100 Subject: [PATCH] decode: remove useless packed attributes --- src/decode-ipv4.h | 2 +- src/decode-ipv6.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/decode-ipv4.h b/src/decode-ipv4.h index cddedb0ab3..7e98eb8a7e 100644 --- a/src/decode-ipv4.h +++ b/src/decode-ipv4.h @@ -84,7 +84,7 @@ typedef struct IPV4Hdr_ } ip4_un1; uint16_t ip_addrs[4]; } ip4_hdrun1; -} __attribute__((__packed__)) IPV4Hdr; +} IPV4Hdr; #define s_ip_src ip4_hdrun1.ip4_un1.ip_src diff --git a/src/decode-ipv6.h b/src/decode-ipv6.h index 87c474be15..cf35402a2b 100644 --- a/src/decode-ipv6.h +++ b/src/decode-ipv6.h @@ -47,7 +47,7 @@ typedef struct IPV6Hdr_ } ip6_un2; uint16_t ip6_addrs[16]; } ip6_hdrun2; -} __attribute__((__packed__)) IPV6Hdr; +} IPV6Hdr; #define s_ip6_src ip6_hdrun2.ip6_un2.ip6_src #define s_ip6_dst ip6_hdrun2.ip6_un2.ip6_dst -- 2.47.2