diff options
| author | Michael Brown | 2013-12-05 02:21:10 +0100 |
|---|---|---|
| committer | Michael Brown | 2013-12-05 02:21:10 +0100 |
| commit | 2649e8ef70a95acd3a1cba8ba05cc83268b68a05 (patch) | |
| tree | 38ddb3ee30c22d9993bc23d97d9fbefb668c9cc8 /src/include/ipxe/fc.h | |
| parent | [dns] Add support for resolving IPv6 addresses via AAAA records (diff) | |
| download | ipxe-2649e8ef70a95acd3a1cba8ba05cc83268b68a05.tar.gz ipxe-2649e8ef70a95acd3a1cba8ba05cc83268b68a05.tar.xz ipxe-2649e8ef70a95acd3a1cba8ba05cc83268b68a05.zip | |
[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.h | 2 |
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; |
