Add a flag to suppress the "default_print()" call made in various
link-layer print routines if no other print routine claimed the packet.
Test whether that flag is set rather than testing whether neither of -x
or -q were specified, and have -x, -q, *and* -X set that flag, so that
-X suppresses it just as -x does.  That way you don't get those pckets
dumped twice if -X was specified.
18 files changed
tree: d9178547cd73d7a9716b8dd080f202b9b7218553
  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-smb.c
  174. print-snmp.c
  175. print-stp.c
  176. print-sunatm.c
  177. print-sunrpc.c
  178. print-symantec.c
  179. print-syslog.c
  180. print-tcp.c
  181. print-telnet.c
  182. print-tftp.c
  183. print-timed.c
  184. print-token.c
  185. print-udp.c
  186. print-vjc.c
  187. print-vrrp.c
  188. print-wb.c
  189. print-zephyr.c
  190. README
  191. Readme.Win32
  192. route6d.h
  193. rpc_auth.h
  194. rpc_msg.h
  195. rx.h
  196. sctpConstants.h
  197. sctpHeader.h
  198. send-ack.awk
  199. setsignal.c
  200. setsignal.h
  201. slcompress.h
  202. slip.h
  203. sll.h
  204. smb.h
  205. smbutil.c
  206. stime.awk
  207. strcasecmp.c
  208. tcp.h
  209. tcpdump-stdinc.h
  210. tcpdump.1
  211. tcpdump.c
  212. telnet.h
  213. timed.h
  214. TODO
  215. token.h
  216. udp.h
  217. util.c
  218. VERSION
  219. vfprintf.c