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

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