summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/ipxe/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/tcp.h b/src/include/ipxe/tcp.h
index 21be3ca8..f5508fe2 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
* @{