diff options
-rw-r--r-- | sys/netinet/ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index 1ad3a93..63aa4fd 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); |