summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2001-08-10 00:34:20 +0000
committersimokawa <simokawa@FreeBSD.org>2001-08-10 00:34:20 +0000
commit4725d9a069ca47136bf61af2e801da7eb743cbf6 (patch)
treeadca2f6aa99efe19d8203f4b7246858ac9441a18
parent50ef5d59f5eb2b291f36ea1fd90dc5eb2b5082de (diff)
downloadFreeBSD-src-4725d9a069ca47136bf61af2e801da7eb743cbf6.zip
FreeBSD-src-4725d9a069ca47136bf61af2e801da7eb743cbf6.tar.gz
Fix unaligned access (fault) on alpha with ndp -p/-r and sysctl -a.
Discussed on users@jp.ipv6.org MFC candidate.
-rw-r--r--sys/netinet6/nd6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index 73bbcd5..a2b3423 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -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 {
OpenPOWER on IntegriCloud