[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
Michael Brown 2018-04-19 17:32:07 +01:00
parent 6804a8c89b
commit e901e6b73b
1 changed files with 1 additions and 1 deletions

View File

@ -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
* @{