diff --git a/ddt.h b/ddt.h index 5a202eb..f142f8e 100644 --- a/ddt.h +++ b/ddt.h @@ -61,10 +61,10 @@ struct ClockQuality { } PACKED; struct TLV { - Enumeration16 tlvType; + Enumeration16 type; UInteger16 length; /* must be even */ - Octet *value; -}; + Octet value[0]; +} PACKED; struct PTPText { UInteger8 length;