mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 16:01:38 +03:00
[tcp] Add missing packed attribute on struct tcp_header
Debugged-by: Mark Rutland <mark.rutland@arm.com> Debugged-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -26,7 +26,7 @@ struct tcp_header {
|
||||
uint16_t win; /* Advertised window */
|
||||
uint16_t csum; /* Checksum */
|
||||
uint16_t urg; /* Urgent pointer */
|
||||
};
|
||||
} __attribute__ (( packed ));
|
||||
|
||||
/** @defgroup tcpopts TCP options
|
||||
* @{
|
||||
|
||||
Reference in New Issue
Block a user