Fix unaligned access (fault) on alpha with ndp -p/-r and sysctl -a.
Discussed on users@jp.ipv6.org MFC candidate.
This commit is contained in:
parent
df7f96d98d
commit
23cd8d58ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81369
@ -116,7 +116,7 @@ struct in6_defrouter {
|
||||
u_short rtlifetime;
|
||||
u_long expire;
|
||||
u_short if_index;
|
||||
} __attribute__((__packed__));
|
||||
};
|
||||
|
||||
struct in6_prlist {
|
||||
char ifname[IFNAMSIZ];
|
||||
@ -147,7 +147,7 @@ struct in6_prefix {
|
||||
u_short if_index;
|
||||
u_short advrtrs; /* number of advertisement routers */
|
||||
/* struct sockaddr_in6 advrtr[] */
|
||||
} __attribute__((__packed__));
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
struct in6_ondireq {
|
||||
|
Loading…
Reference in New Issue
Block a user