summaryrefslogtreecommitdiffstats
path: root/print-ntp.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-05-30 06:46:26 +0000
committerdelphij <delphij@FreeBSD.org>2013-05-30 06:46:26 +0000
commita765887ce77351bac1c77be2cf18a3a66a602fc5 (patch)
tree7ad307c72c31cc07657515d09bc98fe727ce8d27 /print-ntp.c
parent69fe8a0033b22318969c85b57837b48863946665 (diff)
downloadFreeBSD-src-a765887ce77351bac1c77be2cf18a3a66a602fc5.zip
FreeBSD-src-a765887ce77351bac1c77be2cf18a3a66a602fc5.tar.gz
Vendor import of tcpdump 4.4.0.
Diffstat (limited to 'print-ntp.c')
-rw-r--r--print-ntp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ntp.c b/print-ntp.c
index d56f02a..b814cb5 100644
--- a/print-ntp.c
+++ b/print-ntp.c
@@ -117,7 +117,7 @@ ntp_print(register const u_char *cp, u_int length)
tok2str(ntp_stratum_values, (bp->stratum >=2 && bp->stratum<=15) ? "secondary reference" : "reserved", bp->stratum));
TCHECK(bp->ppoll);
- printf(", poll %us", bp->ppoll);
+ printf(", poll %u (%us)", bp->ppoll, 1 << bp->ppoll);
/* Can't TCHECK bp->precision bitfield so bp->distance + 0 instead */
TCHECK2(bp->root_delay, 0);
OpenPOWER on IntegriCloud