summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2007-01-12 07:23:31 +0000
committerWarner Losh <imp@FreeBSD.org>2007-01-12 07:23:31 +0000
commit0befead1e0405c7724088f3d7abd9cc66d23aa5a (patch)
tree5aad38060f4270bcf395b1eb7e96bc11d289336b
parent1c0ee39e74f1b1c2941afb576eb33e0377fe0b4e (diff)
Notes
-rw-r--r--sys/netinet/ip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h
index 1ad3a93e1c38..63aa4fd80fb2 100644
--- a/sys/netinet/ip.h
+++ b/sys/netinet/ip.h
@@ -65,7 +65,7 @@ struct ip {
u_char ip_p; /* protocol */
u_short ip_sum; /* checksum */
struct in_addr ip_src,ip_dst; /* source and dest address */
-} __packed;
+} __packed __aligned(4);
#ifdef CTASSERT
CTASSERT(sizeof (struct ip) == 20);