Miroslav Lichvar
2012-08-27 17:20:42 UTC
Signed-off-by: Miroslav Lichvar <***@redhat.com>
---
ptp4l.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ptp4l.c b/ptp4l.c
index eb26cce..ad4676f 100644
--- a/ptp4l.c
+++ b/ptp4l.c
@@ -175,6 +175,7 @@ int main(int argc, char *argv[])
break;
case 's':
ds->slaveOnly = TRUE;
+ ds->priority1 = 255;
ds->clockQuality.clockClass = 255;
*cfg_ignore |= CFG_IGNORE_SLAVEONLY;
break;
---
ptp4l.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ptp4l.c b/ptp4l.c
index eb26cce..ad4676f 100644
--- a/ptp4l.c
+++ b/ptp4l.c
@@ -175,6 +175,7 @@ int main(int argc, char *argv[])
break;
case 's':
ds->slaveOnly = TRUE;
+ ds->priority1 = 255;
ds->clockQuality.clockClass = 255;
*cfg_ignore |= CFG_IGNORE_SLAVEONLY;
break;
--
1.7.7.6
1.7.7.6