]> The Tcpdump Group git mirrors - tcpdump/commit
Add a flag to suppress the "default_print()" call made in various
authorguy <guy>
Thu, 7 Jul 2005 01:24:32 +0000 (01:24 +0000)
committerguy <guy>
Thu, 7 Jul 2005 01:24:32 +0000 (01:24 +0000)
commit9d4405bf45b24367f2c48354b777e27e36cfeb9e
treee85f7a02c07ec864114ea8c52bc06fbc01aa1b24
parent0d40b3f74a060d44f4606c4c20c210d821bc5a6a
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:
interface.h
netdissect.h
print-802_11.c
print-ap1394.c
print-atm.c
print-cip.c
print-ether.c
print-fddi.c
print-fr.c
print-ipfc.c
print-lane.c
print-null.c
print-pflog.c
print-sctp.c
print-sll.c
print-symantec.c
print-token.c
tcpdump.c