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

index 8c3e337a7e7b4a85eb2d2518d98ba57c3bf40e15..5c07f418a7c6444ee97608a225ad502013485dee 100644 (file)
@@ -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_
 {