diff options
author | Michael Brown <mcb30@ipxe.org> | 2018-04-19 17:32:07 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2018-04-19 19:05:37 +0100 |
commit | e901e6b73b6b0f0c6ec251963da412eaa2121db9 (patch) | |
tree | fa9f45db79081ed3e13519dcb3b6166c2fe32c80 | |
parent | 6804a8c89b8c31c3ef4e7e8ab03b82ebee41dd45 (diff) | |
download | ipxe-e901e6b73b6b0f0c6ec251963da412eaa2121db9.tar.gz |
[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>
-rw-r--r-- | src/include/ipxe/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/tcp.h b/src/include/ipxe/tcp.h index 21be3ca8a..f5508fe2b 100644 --- a/src/include/ipxe/tcp.h +++ b/src/include/ipxe/tcp.h @@ -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 * @{ |