]> The Tcpdump Group git mirrors - tcpdump/commit
We no longer use "packetp" for anything, so eliminate it. (If any
authorguy <guy>
Wed, 18 Dec 2002 08:53:18 +0000 (08:53 +0000)
committerguy <guy>
Wed, 18 Dec 2002 08:53:18 +0000 (08:53 +0000)
commite070cf232ffadbdbbca68b132ef369675890e566
tree7695fa04e8833fd19a5461409caa9c85f7717763
parentc284d10cf4a5a2732b6a08036438f8b7611d67fb
We no longer use "packetp" for anything, so eliminate it.  (If any
dissector really needs source and destination MAC addresses, we should
make global pointers to them - which would be null for packets lacking
MAC addresses, so dissectors that need them will need to do something
sensible if those pointers are null.)

Don't fake up an Ethernet header if there aren't any MAC addresses to
use when faking it up.

"bp_chaddr" in "print-bootp.c" is an array, so "bp->bp_chaddr" cannot be
null, and there's no need to test for it not being null.
20 files changed:
interface.h
print-802_11.c
print-arcnet.c
print-atm.c
print-bootp.c
print-chdlc.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-ppp.c
print-pppoe.c
print-raw.c
print-sl.c
print-sll.c
print-token.c