diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip.h | 4 | ||||
-rw-r--r-- | sys/netinet/ip_input.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h index a4e930a..00d9cc1 100644 --- a/sys/netinet/ip.h +++ b/sys/netinet/ip.h @@ -69,10 +69,6 @@ struct ip { struct in_addr ip_src,ip_dst; /* source and dest address */ } __packed __aligned(4); -#ifdef CTASSERT -CTASSERT(sizeof (struct ip) == 20); -#endif - #define IP_MAXPACKET 65535 /* maximum packet size */ /* diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 32a9ca1..ef1586d 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -85,6 +85,10 @@ __FBSDID("$FreeBSD$"); #include <security/mac/mac_framework.h> +#ifdef CTASSERT +CTASSERT(sizeof(struct ip) == 20); +#endif + int rsvp_on = 0; int ipforwarding = 0; |