On Sun, Aug 23, 2015 at 10:06:05PM +0200, Richard Cochran wrote:
> diff --git a/port.c b/port.c
> index 706183f..8d48cf8 100644
> --- a/port.c
> +++ b/port.c
> @@ -2550,7 +2550,7 @@ struct port *port_open(int phc_index,
>       p->portIdentity.clockIdentity = clock_identity(clock);
>       p->portIdentity.portNumber = number;
>       p->state = PS_INITIALIZING;
> -     p->delayMechanism = interface->dm;
> +     p->delayMechanism = config_get_int(cfg, p->name, "delay_mechanism");

This change caused a regression when global option delay_mechansim is
set to P2P.  In that case, the UDS port also tries (and fails) to send
peer delay request messages.

I already pushed a fix for this out.

Thanks,
Richard

------------------------------------------------------------------------------
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to