1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00

Make sure that carp_header is 36 bytes long

This commit is contained in:
Warner Losh 2006-12-01 18:37:41 +00:00
parent 48f395a6c2
commit 850adc0cd7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164808

View File

@ -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 */