On Thu, Oct 26, 2023 at 02:40:10PM +0200, Miroslav Lichvar wrote: > @@ -1010,7 +1010,7 @@ static int clock_handle_leap(struct domain *domain, > struct clock *clock, > struct pmc_agent *agent; > > /* The system clock's domain doesn't have a subscribed agent */ > - agent = domain->agent_subscribed ? domain->agent : > domain->src_domain->agent; > + agent = !domain->has_rt_clock ? domain->agent : > domain->src_domain->agent;
Inverted truth! Why not: agent = domain->has_rt_clock ? domain->src_domain->agent : domain->agent; Hm? Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel