diff options
author | imp <imp@FreeBSD.org> | 2006-12-01 18:37:41 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-12-01 18:37:41 +0000 |
commit | 575f8fc9401f0e2d0fdf45962f54f023133b2e62 (patch) | |
tree | 5d8d68679dc7d6afa15f57c5d438ee68257f18b9 /sys/netinet/ip_carp.h | |
parent | 016f4a713b63e444dbb3ae21b206adff1409c580 (diff) | |
download | FreeBSD-src-575f8fc9401f0e2d0fdf45962f54f023133b2e62.zip FreeBSD-src-575f8fc9401f0e2d0fdf45962f54f023133b2e62.tar.gz |
Make sure that carp_header is 36 bytes long
Diffstat (limited to 'sys/netinet/ip_carp.h')
-rw-r--r-- | sys/netinet/ip_carp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet/ip_carp.h b/sys/netinet/ip_carp.h index 7151f52..2dd9544 100644 --- a/sys/netinet/ip_carp.h +++ b/sys/netinet/ip_carp.h @@ -76,6 +76,10 @@ struct carp_header { unsigned char carp_md[20]; /* SHA1 HMAC */ } __packed; +#ifdef CTASSERT +CTASSERT(sizeof(struct carp_header) == 36); +#endif + #define CARP_DFLTTL 255 /* carp_version */ |