The peer polling interval is an exponent; treat it as such.

RFC 1119 says

	Peer Poll Interval (peer.ppoll, pkt.ppoll): This is a signed
	    integer indicating the minimum interval between messages
	    sent by the peer, in seconds as a power of two.  For
	    instance, a alue of six indicates a minimum interval of 64
	    seconds.

so print both the raw value and 2^{raw value}, showing the latter.

Patch from Debian bug 686276.

Reviewed-By: Guy Harris <guy@alum.mit.edu>
1 file changed
tree: fa446d3804248d09f0631e012e8d52dbbfd62b3a
  1. lbl/
  2. missing/
  3. tests/
  4. Win32/
  5. win32/
  6. .cvsignore
  7. .gitattributes
  8. .gitignore
  9. .travis.yml
  10. acconfig.h
  11. aclocal.m4
  12. addrtoname.c
  13. addrtoname.h
  14. af.c
  15. af.h
  16. ah.h
  17. aodv.h
  18. appletalk.h
  19. arcnet.h
  20. atime.awk
  21. atm.h
  22. atmuni31.h
  23. bgp.h
  24. bootp.h
  25. bpf_dump.c
  26. CHANGES
  27. chdlc.h
  28. checksum.c
  29. config.guess
  30. config.h.in
  31. config.sub
  32. configure
  33. configure.in
  34. cpack.c
  35. cpack.h
  36. CREDITS
  37. dccp.h
  38. decnet.h
  39. decode_prefix.h
  40. enc.h
  41. esp.h
  42. ether.h
  43. ethertype.h
  44. extract.h
  45. fddi.h
  46. forces.h
  47. gmpls.c
  48. gmpls.h
  49. gmt2local.c
  50. gmt2local.h
  51. icmp6.h
  52. ieee802_11.h
  53. ieee802_11_radio.h
  54. igrp.h
  55. in_cksum.c
  56. install-sh
  57. INSTALL.txt
  58. interface.h
  59. ip.h
  60. ip6.h
  61. ipfc.h
  62. ipnet.h
  63. ipproto.c
  64. ipproto.h
  65. ipsec_doi.h
  66. ipx.h
  67. isakmp.h
  68. l2tp.h
  69. l2vpn.c
  70. l2vpn.h
  71. lane.h
  72. LICENSE
  73. llc.h
  74. machdep.c
  75. machdep.h
  76. Makefile-devel-adds
  77. Makefile.in
  78. makemib
  79. mib.h
  80. mkdep
  81. mpls.h
  82. nameser.h
  83. netbios.h
  84. netdissect.h
  85. nfs.h
  86. nfsfh.h
  87. nlpid.c
  88. nlpid.h
  89. ntp.h
  90. oakley.h
  91. ospf.h
  92. ospf6.h
  93. oui.c
  94. oui.h
  95. packetdat.awk
  96. parsenfsfh.c
  97. pcap-missing.h
  98. pcap_dump_ftell.c
  99. PLATFORMS
  100. pmap_prot.h
  101. ppi.h
  102. ppp.h
  103. print-802_11.c
  104. print-802_15_4.c
  105. print-ah.c
  106. print-aodv.c
  107. print-ap1394.c
  108. print-arcnet.c
  109. print-arp.c
  110. print-ascii.c
  111. print-atalk.c
  112. print-atm.c
  113. print-babel.c
  114. print-beep.c
  115. print-bfd.c
  116. print-bgp.c
  117. print-bootp.c
  118. print-bt.c
  119. print-carp.c
  120. print-cdp.c
  121. print-cfm.c
  122. print-chdlc.c
  123. print-cip.c
  124. print-cnfp.c
  125. print-dccp.c
  126. print-decnet.c
  127. print-dhcp6.c
  128. print-domain.c
  129. print-dtp.c
  130. print-dvmrp.c
  131. print-eap.c
  132. print-egp.c
  133. print-eigrp.c
  134. print-enc.c
  135. print-esp.c
  136. print-ether.c
  137. print-fddi.c
  138. print-forces.c
  139. print-fr.c
  140. print-frag6.c
  141. print-gre.c
  142. print-hsrp.c
  143. print-icmp.c
  144. print-icmp6.c
  145. print-igmp.c
  146. print-igrp.c
  147. print-ip.c
  148. print-ip6.c
  149. print-ip6opts.c
  150. print-ipcomp.c
  151. print-ipfc.c
  152. print-ipnet.c
  153. print-ipx.c
  154. print-isakmp.c
  155. print-isoclns.c
  156. print-juniper.c
  157. print-krb.c
  158. print-l2tp.c
  159. print-lane.c
  160. print-ldp.c
  161. print-llc.c
  162. print-lldp.c
  163. print-lmp.c
  164. print-lspping.c
  165. print-lwapp.c
  166. print-lwres.c
  167. print-mobile.c
  168. print-mobility.c
  169. print-mpcp.c
  170. print-mpls.c
  171. print-msdp.c
  172. print-netbios.c
  173. print-nfs.c
  174. print-ntp.c
  175. print-null.c
  176. print-olsr.c
  177. print-ospf.c
  178. print-ospf6.c
  179. print-pflog.c
  180. print-pgm.c
  181. print-pim.c
  182. print-ppi.c
  183. print-ppp.c
  184. print-pppoe.c
  185. print-pptp.c
  186. print-radius.c
  187. print-raw.c
  188. print-rip.c
  189. print-ripng.c
  190. print-rpki-rtr.c
  191. print-rrcp.c
  192. print-rsvp.c
  193. print-rt6.c
  194. print-rx.c
  195. print-sctp.c
  196. print-sflow.c
  197. print-sip.c
  198. print-sl.c
  199. print-sll.c
  200. print-slow.c
  201. print-smb.c
  202. print-snmp.c
  203. print-stp.c
  204. print-sunatm.c
  205. print-sunrpc.c
  206. print-symantec.c
  207. print-syslog.c
  208. print-tcp.c
  209. print-telnet.c
  210. print-tftp.c
  211. print-timed.c
  212. print-tipc.c
  213. print-token.c
  214. print-udld.c
  215. print-udp.c
  216. print-usb.c
  217. print-vjc.c
  218. print-vqp.c
  219. print-vrrp.c
  220. print-vtp.c
  221. print-wb.c
  222. print-zephyr.c
  223. README
  224. Readme.Win32
  225. route6d.h
  226. rpc_auth.h
  227. rpc_msg.h
  228. rx.h
  229. sctpConstants.h
  230. sctpHeader.h
  231. send-ack.awk
  232. setsignal.c
  233. setsignal.h
  234. signature.c
  235. signature.h
  236. slcompress.h
  237. slip.h
  238. sll.h
  239. smb.h
  240. smbutil.c
  241. stime.awk
  242. strcasecmp.c
  243. tcp.h
  244. tcpdump-stdinc.h
  245. tcpdump.1.in
  246. tcpdump.c
  247. telnet.h
  248. tftp.h
  249. timed.h
  250. TODO
  251. token.h
  252. udp.h
  253. util.c
  254. VERSION
  255. vfprintf.c