Commit 7d45b5fd authored by Vladimir Oltean's avatar Vladimir Oltean Committed by Jakub Kicinski

selftests: net: tsn_lib: don't overwrite isochron receiver extra args with UDS

The extra_args argument ($3) of isochron_recv_start is overwritten with
uds ($2), if that argument exists.

This is currently not a problem, because the only TSN selftest
(ocelot/psfp.sh) omits remote sync so it does not specify to the
receiver a UNIX domain socket for ptp4l. So $uds is currently an empty
string.
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Kurt Kanzenbach's avatarKurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bb65131b
......@@ -139,7 +139,7 @@ isochron_recv_start()
local extra_args=$3
if ! [ -z "${uds}" ]; then
extra_args="--unix-domain-socket ${uds}"
extra_args="${extra_args} --unix-domain-socket ${uds}"
fi
isochron rcv \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment