li/vn/mode struct should not be anonymous

This commit is contained in:
Dan Paulat 2025-08-24 22:16:30 -05:00
parent c5b858021f
commit 193f42318c

View file

@ -23,7 +23,7 @@ struct NtpPacket
union
{
std::uint8_t li_vn_mode;
struct
struct LiVnMode
{
std::uint8_t mode : 3; // Client will pick mode 3 for client.
std::uint8_t vn : 3; // Version number of the protocol.