mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Make sure that carp_header is 36 bytes long
This commit is contained in:
parent
48f395a6c2
commit
850adc0cd7
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue