From 6dedf8bc247cd547f536ac4f3e8409ea6d879fdd Mon Sep 17 00:00:00 2001 From: "Dale P. Smith" Date: Thu, 27 Jun 2013 21:23:04 -0400 Subject: [PATCH] Place clock type values in the correct positon Signed-off-by: Dale P. Smith --- tlv.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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