Discussion:
[Linuxptp-devel] [PATCH] Place clock type values in the correct positon
Dale P. Smith
2013-06-28 01:23:04 UTC
Permalink
From: "Dale P. Smith" <***@gmail.com>

Signed-off-by: Dale P. Smith <***@gmail.com>
---
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
--
1.7.10.4
Richard Cochran
2013-06-28 05:42:07 UTC
Permalink
Post by Dale P. Smith
---
tlv.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Applied.

Thanks,
Richard

Loading...