From: Victor Julien Date: Thu, 4 Apr 2024 07:00:32 +0000 (+0200) Subject: decode/tcp: no need to pack the structure X-Git-Tag: suricata-8.0.0-beta1~1566 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c90144d194b5c6f58212ca987039dcbbeb1e4be;p=thirdparty%2Fsuricata.git decode/tcp: no need to pack the structure --- diff --git a/src/decode-tcp.h b/src/decode-tcp.h index 8c3e337a7e..5c07f418a7 100644 --- a/src/decode-tcp.h +++ b/src/decode-tcp.h @@ -150,7 +150,7 @@ typedef struct TCPHdr_ uint16_t th_win; /**< pkt window */ uint16_t th_sum; /**< checksum */ uint16_t th_urp; /**< urgent pointer */ -} __attribute__((__packed__)) TCPHdr; +} TCPHdr; typedef struct TCPVars_ {