On Mon, Sep 04, 2023 at 11:20:57AM -0700, Richard Cochran wrote: > The recently added phc2sys multi-domain mode introduced a regression. > In the non-automatic mode (using flag -w to wait for ptp4l) the code > will attempt to set the UDS address using an uninitialized pointer, > unless the -z flag is also specified. > > Fix the issue by testing whether the -z flag was present on the > command line before changing the UDS address.
Looks good to me. Good idea with using the last value if there are multiple -z options. However, I noticed the -n option is now ignored with -w. I'll submit a patch. Sorry for the bugs. Thanks, -- Miroslav Lichvar _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel