[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:
Michael Brown
2018-04-19 17:32:07 +01:00
parent 6804a8c89b
commit e901e6b73b

View File

@@ -26,7 +26,7 @@ struct tcp_header {
uint16_t win; /* Advertised window */ uint16_t win; /* Advertised window */
uint16_t csum; /* Checksum */ uint16_t csum; /* Checksum */
uint16_t urg; /* Urgent pointer */ uint16_t urg; /* Urgent pointer */
}; } __attribute__ (( packed ));
/** @defgroup tcpopts TCP options /** @defgroup tcpopts TCP options
* @{ * @{