From 2fd7a1c18ff1aadff636cdc0b7ac1ef6460bc954 Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 20 Nov 2011 18:53:38 +0100 Subject: [PATCH] Use the correct slave-only clock class. If we are going to be slave-only, then we should also advertise the correct clock class. Signed-off-by: Richard Cochran --- linuxptp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxptp.c b/linuxptp.c index a350261..e1ae964 100644 --- a/linuxptp.c +++ b/linuxptp.c @@ -137,7 +137,7 @@ int main(int argc, char *argv[]) ds.slaveOnly = TRUE; // TODO - make this programmable. ds.priority1 = 128; - ds.clockQuality.clockClass = 248; + ds.clockQuality.clockClass = 255; ds.clockQuality.clockAccuracy = 0xfe; ds.clockQuality.offsetScaledLogVariance = 0xffff; ds.priority2 = 128;