From: Victor Julien Date: Thu, 4 Apr 2024 07:26:11 +0000 (+0200) Subject: decode/udp: no need to pack the structure X-Git-Tag: suricata-8.0.0-beta1~1565 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2236c1fcc6e5dedb3fb545262e26f0ace84922af;p=thirdparty%2Fsuricata.git decode/udp: no need to pack the structure --- diff --git a/src/decode-udp.h b/src/decode-udp.h index c34812de7a..a6f13cf085 100644 --- a/src/decode-udp.h +++ b/src/decode-udp.h @@ -44,7 +44,7 @@ typedef struct UDPHdr_ uint16_t uh_dport; /* destination port */ uint16_t uh_len; /* length */ uint16_t uh_sum; /* checksum */ -} __attribute__((__packed__)) UDPHdr; +} UDPHdr; #define CLEAR_UDP_PACKET(p) do { \ (p)->level4_comp_csum = -1; \