mirror of https://github.com/ipxe/ipxe.git
[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>pull/72/merge
parent
6804a8c89b
commit
e901e6b73b
|
@ -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
|
||||
* @{
|
||||
|
|
Loading…
Reference in New Issue