diff --git a/tlv.h b/tlv.h index 9992fc3..443bbdf 100644 --- a/tlv.h +++ b/tlv.h @@ -183,11 +183,11 @@ struct time_status_np { } PACKED; enum clock_type { - CLOCK_TYPE_ORDINARY = 0x80, - CLOCK_TYPE_BOUNDARY = 0x40, - CLOCK_TYPE_P2P = 0x20, - CLOCK_TYPE_E2E = 0x10, - CLOCK_TYPE_MANAGEMENT = 0x08, + CLOCK_TYPE_ORDINARY = 0x8000, + CLOCK_TYPE_BOUNDARY = 0x4000, + CLOCK_TYPE_P2P = 0x2000, + CLOCK_TYPE_E2E = 0x1000, + CLOCK_TYPE_MANAGEMENT = 0x0800, }; #define PROFILE_ID_LEN 6