aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/fc.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2013-12-05 01:21:10 +0000
committerMichael Brown <mcb30@ipxe.org>2013-12-05 01:21:10 +0000
commit2649e8ef70a95acd3a1cba8ba05cc83268b68a05 (patch)
tree38ddb3ee30c22d9993bc23d97d9fbefb668c9cc8 /src/include/ipxe/fc.h
parent6248894f52b5794970292ea40f68fe0c892eafec (diff)
downloadipxe-2649e8ef70a95acd3a1cba8ba05cc83268b68a05.tar.gz
[socket] Ensure socket address structure sizes are fixed
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/fc.h')
-rw-r--r--src/include/ipxe/fc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/fc.h b/src/include/ipxe/fc.h
index 6689f394e..6fdef092d 100644
--- a/src/include/ipxe/fc.h
+++ b/src/include/ipxe/fc.h
@@ -60,7 +60,7 @@ struct sockaddr_fc {
*/
char pad[ sizeof ( struct sockaddr ) - sizeof ( sa_family_t )
- sizeof ( struct fc_port_id ) ];
-} __attribute__ (( may_alias ));
+} __attribute__ (( packed, may_alias ));
extern struct fc_port_id fc_empty_port_id;
extern struct fc_port_id fc_f_port_id;