Get rid of some other uses of ethertype() for protocols that don't have
authorGuy Harris <guy@alum.mit.edu>
Tue, 5 May 2009 03:50:06 +0000 (03:50 -0000)
committerGuy Harris <guy@alum.mit.edu>
Tue, 5 May 2009 03:50:06 +0000 (03:50 -0000)
commitb4d3b4244bd299d281d383154a69e2b420f48f2b
treec72b97063d83ecec989b091ce16a2347f000ba1e
parent33ab68265521f60cd96c56d749a0f61199514040
Get rid of some other uses of ethertype() for protocols that don't have
a trailer.

Clean up the NHRP dissector's handling of the protocol ID to fully
implement RFC 2332 (and mention that 2332 is the RFC for NHRP).  Don't
compute the checksum unless we have all the packet data, and don't use
the captured length as the actual packet length.  Check for an invalid
extension offset value.  Get rid of some unneeded
tvb_ensure_bytes_exist() calls.  Dissect - and set the columns -
regardless of whether we're building the protocol tree.  Mark the packet
in error reports as an error packet.

svn path=/trunk/; revision=28273
epan/dissectors/packet-3com-xns.c
epan/dissectors/packet-ap1394.c
epan/dissectors/packet-infiniband.c
epan/dissectors/packet-llc.c
epan/dissectors/packet-llc.h
epan/dissectors/packet-nhrp.c
epan/dissectors/packet-nhrp.h
epan/dissectors/packet-null.c