examples/ptpclient: fix delay request message
authorVanshika Shukla <vanshika.shukla@nxp.com>
Mon, 22 Nov 2021 07:31:22 +0000 (13:01 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 24 Nov 2021 14:11:42 +0000 (15:11 +0100)
commit21ba4d572a5cb404cd3d02a59aaf7997bb4e8a39
treeb9f38c9501bc97db16fdcfc36c559f60b5cf3aff
parent926629e3f3dbe5e4f3bea4689f319df18d0df9a2
examples/ptpclient: fix delay request message

The size of delay request message sent out by the DPDK
ptpclient application was observed to have extra length
than expected. Due to this, bad messages were observed
on the master side and delay response was not received.
This patch fixes this bug.

Fixes: ab129e9065a5 ("examples/ptpclient: add minimal PTP client")
Cc: stable@dpdk.org
Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
examples/ptpclient/ptpclient.c