Package: tcpdump
Version: 4.1.1-1
Severity: minor
Tags: patch

bp->ppoll is log2 of the poll interval.


-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages tcpdump depends on:
ii  libc6                  2.11.3-3          Embedded GNU C Library: Shared lib
ii  libpcap0.8             1.1.1-2+squeeze1  system interface for user-level pa
ii  libssl0.9.8            0.9.8o-4squeeze13 SSL shared libraries

tcpdump recommends no packages.

tcpdump suggests no packages.

-- no debconf information
--- print-ntp.c.old	2010-03-12 02:56:44.000000000 +0100
+++ print-ntp.c	2012-08-30 21:40:44.000000000 +0200
@@ -117,7 +117,7 @@
 		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);

Reply via email to