Use %u to print unsigned quantities.

Check, and use, the supplied packet length in the PPPoE dissector.  (It
reflects the actual packet length; snapend reflects the captured packet
length.)

As we're now doing bounds checks with TCHECK, the loop over the tagged
fields doesn't have to check against snapend.
3 files changed
tree: 3e0597483a04ab9b26540b437e6d73692f1d6d46
  1. lbl/
  2. missing/
  3. tests/
  4. win32/
  5. .cvsignore
  6. acconfig.h
  7. aclocal.m4
  8. addrtoname.c
  9. addrtoname.h
  10. ah.h
  11. aodv.h
  12. appletalk.h
  13. arcnet.h
  14. atime.awk
  15. atm.h
  16. atmuni31.h
  17. bgp.h
  18. bootp.h
  19. bpf_dump.c
  20. CHANGES
  21. chdlc.h
  22. config.guess
  23. config.h.in
  24. config.sub
  25. configure
  26. configure.in
  27. CREDITS
  28. decnet.h
  29. decode_prefix.h
  30. enc.h
  31. esp.h
  32. ether.h
  33. ethertype.h
  34. extract.h
  35. fddi.h
  36. FILES
  37. gmpls.c
  38. gmpls.h
  39. gmt2local.c
  40. gmt2local.h
  41. icmp6.h
  42. ieee802_11.h
  43. igrp.h
  44. INSTALL
  45. install-sh
  46. interface.h
  47. ip.h
  48. ip6.h
  49. ipfc.h
  50. ipproto.c
  51. ipproto.h
  52. ipsec_doi.h
  53. ipx.h
  54. isakmp.h
  55. l2tp.h
  56. l2vpn.c
  57. l2vpn.h
  58. lane.h
  59. LICENSE
  60. llc.h
  61. machdep.c
  62. machdep.h
  63. Makefile-devel-adds
  64. Makefile.in
  65. makemib
  66. mib.h
  67. mkdep
  68. mpls.h
  69. nameser.h
  70. netbios.h
  71. netdissect.h
  72. nfs.h
  73. nfsfh.h
  74. ntp.h
  75. oakley.h
  76. ospf.h
  77. ospf6.h
  78. oui.c
  79. oui.h
  80. packetdat.awk
  81. parsenfsfh.c
  82. pcap-missing.h
  83. pf.h
  84. PLATFORMS
  85. ppp.h
  86. print-802_11.c
  87. print-ah.c
  88. print-aodv.c
  89. print-ap1394.c
  90. print-arcnet.c
  91. print-arp.c
  92. print-ascii.c
  93. print-atalk.c
  94. print-atm.c
  95. print-beep.c
  96. print-bfd.c
  97. print-bgp.c
  98. print-bootp.c
  99. print-cdp.c
  100. print-chdlc.c
  101. print-cip.c
  102. print-cnfp.c
  103. print-decnet.c
  104. print-dhcp6.c
  105. print-domain.c
  106. print-dvmrp.c
  107. print-eap.c
  108. print-egp.c
  109. print-eigrp.c
  110. print-enc.c
  111. print-esp.c
  112. print-ether.c
  113. print-fddi.c
  114. print-fr.c
  115. print-frag6.c
  116. print-gre.c
  117. print-hsrp.c
  118. print-icmp.c
  119. print-icmp6.c
  120. print-igmp.c
  121. print-igrp.c
  122. print-ip.c
  123. print-ip6.c
  124. print-ip6opts.c
  125. print-ipcomp.c
  126. print-ipfc.c
  127. print-ipx.c
  128. print-isakmp.c
  129. print-isoclns.c
  130. print-krb.c
  131. print-l2tp.c
  132. print-lane.c
  133. print-ldp.c
  134. print-llc.c
  135. print-lmp.c
  136. print-lspping.c
  137. print-lwres.c
  138. print-mobile.c
  139. print-mobility.c
  140. print-mpls.c
  141. print-msdp.c
  142. print-netbios.c
  143. print-nfs.c
  144. print-ntp.c
  145. print-null.c
  146. print-ospf.c
  147. print-ospf6.c
  148. print-pflog.c
  149. print-pim.c
  150. print-ppp.c
  151. print-pppoe.c
  152. print-pptp.c
  153. print-radius.c
  154. print-raw.c
  155. print-rip.c
  156. print-ripng.c
  157. print-rsvp.c
  158. print-rt6.c
  159. print-rx.c
  160. print-sctp.c
  161. print-sip.c
  162. print-sl.c
  163. print-sll.c
  164. print-smb.c
  165. print-snmp.c
  166. print-stp.c
  167. print-sunatm.c
  168. print-sunrpc.c
  169. print-symantec.c
  170. print-tcp.c
  171. print-telnet.c
  172. print-tftp.c
  173. print-timed.c
  174. print-token.c
  175. print-udp.c
  176. print-vjc.c
  177. print-vrrp.c
  178. print-wb.c
  179. print-zephyr.c
  180. README
  181. Readme.Win32
  182. route6d.h
  183. rx.h
  184. sctpConstants.h
  185. sctpHeader.h
  186. send-ack.awk
  187. setsignal.c
  188. setsignal.h
  189. slcompress.h
  190. slip.h
  191. sll.h
  192. smb.h
  193. smbutil.c
  194. stime.awk
  195. strcasecmp.c
  196. tcp.h
  197. tcpdump-stdinc.h
  198. tcpdump.1
  199. tcpdump.c
  200. telnet.h
  201. timed.h
  202. TODO
  203. token.h
  204. udp.h
  205. util.c
  206. VERSION
  207. vfprintf.c