]> 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)
committerfxlb <[email protected]>
Fri, 14 Oct 2022 04:18:59 +0000 (04:18 +0000)
commitc8a59b1d2a8b01e12a071a08810a9959f55a9fef
tree30f875cdca4753dc4c4126719761613facb65e94
parentfd4c7cc164fbf8ce3aea8c1a6c07af04c7ee33f4
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.
print-ptp.c
tests/TESTLIST
tests/ptp_corrections.out [new file with mode: 0644]
tests/ptp_corrections.pcap [new file with mode: 0644]