]> The Tcpdump Group git mirrors - tcpdump/commit
Fix printing of NTP poll interval.
authorMiroslav Lichvar <[email protected]>
Mon, 19 Jun 2017 13:32:36 +0000 (15:32 +0200)
committerMiroslav Lichvar <[email protected]>
Tue, 29 Aug 2017 10:37:58 +0000 (12:37 +0200)
commit63c8c04ea769c70ce49eeb23c2040597aa9945f8
tree2a5f816915c35021244455c3b15c1dca70ce05e5
parent2f7c41dda8e0829007146923fc0722032146fbe9
Fix printing of NTP poll interval.

The poll value in an NTP packet is a signed integer. For negative values
print the interval as a fraction of second. Also, ignore values outside
of interval (-32, 32).
print-ntp.c