On Thu, Dec 24, 2020 at 10:29:23PM +0200, Yuval Kashtan wrote: > slaveOnly and slave_event_monitor are kept for backward compatibility > > Signed-off-by: Yuval Kashtan <yuvalkash...@gmail.com> > --- > clock.c | 3 ++- > config.c | 2 ++ > configs/automotive-slave.cfg | 2 +- > configs/default.cfg | 2 +- > monitor.c | 9 +++++--- > pmc.c | 4 ++-- > port.c | 2 +- > ptp4l.8 | 42 ++++++++++++++++++------------------ > 8 files changed, 36 insertions(+), 30 deletions(-) > > diff --git a/clock.c b/clock.c > index 0156bc3..c6d0fac 100644 > --- a/clock.c > +++ b/clock.c > @@ -955,7 +955,8 @@ struct clock *clock_create(enum clock_type type, struct > config *config, > > c->dds.domainNumber = config_get_int(config, NULL, "domainNumber"); > > - if (config_get_int(config, NULL, "slaveOnly")) { > + if (config_get_int(config, NULL, "slaveOnly") || > + config_get_int(config, NULL, "workerOnly")) {
This is what I would like to see... * WRT the PTP port roles: - MASTER -> SERVER - SLAVE -> CLIENT * WRT clock synchronization roles: - time source - time sink So the replacement for "slaveOnly" will be "clientOnly". (Please take look in the archives at the discussion.) Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel