Fix the buffer size argument to "snprintf()" in "etheraddr_string()", as
per Red Hat bug 164227 (although the buffer *should* be big enough).

Clean up indentation, improve a comment, and make a variable that can go
negative, and that doesn't need to be unsigned, signed.
1 file changed
tree: 7b172422b9878f10b8a3928aaba39a4a10b83dec
  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. cpack.c
  28. cpack.h
  29. CREDITS
  30. decnet.h
  31. decode_prefix.h
  32. enc.h
  33. esp.h
  34. ether.h
  35. ethertype.h
  36. extract.h
  37. fddi.h
  38. FILES
  39. gmpls.c
  40. gmpls.h
  41. gmt2local.c
  42. gmt2local.h
  43. icmp6.h
  44. ieee802_11.h
  45. ieee802_11_radio.h
  46. igrp.h
  47. INSTALL
  48. install-sh
  49. interface.h
  50. ip.h
  51. ip6.h
  52. ipfc.h
  53. ipproto.c
  54. ipproto.h
  55. ipsec_doi.h
  56. ipx.h
  57. isakmp.h
  58. l2tp.h
  59. l2vpn.c
  60. l2vpn.h
  61. lane.h
  62. LICENSE
  63. llc.h
  64. machdep.c
  65. machdep.h
  66. Makefile-devel-adds
  67. Makefile.in
  68. makemib
  69. mib.h
  70. mkdep
  71. mpls.h
  72. nameser.h
  73. netbios.h
  74. netdissect.h
  75. nfs.h
  76. nfsfh.h
  77. nlpid.c
  78. nlpid.h
  79. ntp.h
  80. oakley.h
  81. ospf.h
  82. ospf6.h
  83. oui.c
  84. oui.h
  85. packetdat.awk
  86. parsenfsfh.c
  87. pcap-missing.h
  88. pcap_dump_ftell.c
  89. pf.h
  90. PLATFORMS
  91. pmap_prot.h
  92. ppp.h
  93. print-802_11.c
  94. print-ah.c
  95. print-aodv.c
  96. print-ap1394.c
  97. print-arcnet.c
  98. print-arp.c
  99. print-ascii.c
  100. print-atalk.c
  101. print-atm.c
  102. print-beep.c
  103. print-bfd.c
  104. print-bgp.c
  105. print-bootp.c
  106. print-cdp.c
  107. print-chdlc.c
  108. print-cip.c
  109. print-cnfp.c
  110. print-decnet.c
  111. print-dhcp6.c
  112. print-domain.c
  113. print-dvmrp.c
  114. print-eap.c
  115. print-egp.c
  116. print-eigrp.c
  117. print-enc.c
  118. print-esp.c
  119. print-ether.c
  120. print-fddi.c
  121. print-fr.c
  122. print-frag6.c
  123. print-gre.c
  124. print-hsrp.c
  125. print-icmp.c
  126. print-icmp6.c
  127. print-igmp.c
  128. print-igrp.c
  129. print-ip.c
  130. print-ip6.c
  131. print-ip6opts.c
  132. print-ipcomp.c
  133. print-ipfc.c
  134. print-ipx.c
  135. print-isakmp.c
  136. print-isoclns.c
  137. print-juniper.c
  138. print-krb.c
  139. print-l2tp.c
  140. print-lane.c
  141. print-ldp.c
  142. print-llc.c
  143. print-lmp.c
  144. print-lspping.c
  145. print-lwres.c
  146. print-mobile.c
  147. print-mobility.c
  148. print-mpls.c
  149. print-msdp.c
  150. print-netbios.c
  151. print-nfs.c
  152. print-ntp.c
  153. print-null.c
  154. print-ospf.c
  155. print-ospf6.c
  156. print-pflog.c
  157. print-pgm.c
  158. print-pim.c
  159. print-ppp.c
  160. print-pppoe.c
  161. print-pptp.c
  162. print-radius.c
  163. print-raw.c
  164. print-rip.c
  165. print-ripng.c
  166. print-rsvp.c
  167. print-rt6.c
  168. print-rx.c
  169. print-sctp.c
  170. print-sip.c
  171. print-sl.c
  172. print-sll.c
  173. print-slow.c
  174. print-smb.c
  175. print-snmp.c
  176. print-stp.c
  177. print-sunatm.c
  178. print-sunrpc.c
  179. print-symantec.c
  180. print-syslog.c
  181. print-tcp.c
  182. print-telnet.c
  183. print-tftp.c
  184. print-timed.c
  185. print-token.c
  186. print-udp.c
  187. print-vjc.c
  188. print-vrrp.c
  189. print-wb.c
  190. print-zephyr.c
  191. README
  192. Readme.Win32
  193. route6d.h
  194. rpc_auth.h
  195. rpc_msg.h
  196. rx.h
  197. sctpConstants.h
  198. sctpHeader.h
  199. send-ack.awk
  200. setsignal.c
  201. setsignal.h
  202. slcompress.h
  203. slip.h
  204. sll.h
  205. smb.h
  206. smbutil.c
  207. stime.awk
  208. strcasecmp.c
  209. tcp.h
  210. tcpdump-stdinc.h
  211. tcpdump.1
  212. tcpdump.c
  213. telnet.h
  214. timed.h
  215. TODO
  216. token.h
  217. udp.h
  218. util.c
  219. VERSION
  220. vfprintf.c