ntp: assert size of exp_mono_root field
This commit is contained in:
parent
05f4f79cbf
commit
85db8e3a9c
1 changed files with 2 additions and 0 deletions
|
@ -373,6 +373,8 @@ do_size_checks(void)
|
|||
assert(offsetof(NTP_Packet, originate_ts) == 24);
|
||||
assert(offsetof(NTP_Packet, receive_ts) == 32);
|
||||
assert(offsetof(NTP_Packet, transmit_ts) == 40);
|
||||
|
||||
assert(sizeof (NTP_EFExpMonoRoot) == 24);
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
|
Loading…
Reference in a new issue