Skip to content

Commit

Permalink
[tcp] Add missing packed attribute on struct tcp_header
Browse files Browse the repository at this point in the history
Debugged-by: Mark Rutland <mark.rutland@arm.com>
Debugged-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Apr 19, 2018
1 parent 6804a8c commit e901e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/ipxe/tcp.h
Expand Up @@ -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
* @{
Expand Down

0 comments on commit e901e6b

Please sign in to comment.