mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Force the alignment of the chars arrays, as they are casted later to
structs. gcc 4.2 doesn't do it by default, and that results in unaligned access on arm.
This commit is contained in:
parent
d10f3ce07f
commit
e81f504954
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169833
@ -226,7 +226,7 @@ main(argc, argv)
|
||||
struct msghdr msg;
|
||||
struct sigaction si_sa;
|
||||
size_t sz;
|
||||
u_char *datap, packet[IP_MAXPACKET];
|
||||
u_char *datap, packet[IP_MAXPACKET] __aligned(4);
|
||||
char *ep, *source, *target, *payload;
|
||||
struct hostent *hp;
|
||||
#ifdef IPSEC_POLICY_IPSEC
|
||||
|
Loading…
Reference in New Issue
Block a user