On Thu, Jan 28, 2021 at 04:25:07PM +0100, Miroslav Lichvar wrote:
> @@ -691,6 +691,9 @@ static int port_ignore(struct port *p, struct ptp_message
> *m)
> {
> struct ClockIdentity c1, c2;
>
> + if (transport_type(p->trp) == TRANS_UDS && msg_type(m) != MANAGEMENT) {
> + return 1;
> + }Why not use port_is_uds(p) here? Thanks, Richard _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
