]> The Tcpdump Group git mirrors - tcpdump/commit
PTP: fix printing of the correction fields
authorCharles (Chas) Williams <[email protected]>
Wed, 5 Oct 2022 11:58:01 +0000 (07:58 -0400)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 14 Oct 2022 04:21:01 +0000 (06:21 +0200)
commitb04cf0ea3667e3b319fb35556be0b9ebb4d557ce
tree4478097305773bcd396bc0e0b3e930f533d55694
parent2e1accadb596a6d4f1c7e9a6f4a88827ff2adab9
PTP: fix printing of the correction fields

The nanosecond part of the correction field is 48 bits and the
sub-nanosecond part is 16 bits.

(cherry picked from commit c8a59b1d2a8b01e12a071a08810a9959f55a9fef)
print-ptp.c
tests/TESTLIST
tests/ptp_corrections.out [new file with mode: 0644]
tests/ptp_corrections.pcap [new file with mode: 0644]