Ethereal-cvs: [Ethereal-cvs] rev 16015: /trunk/epan/dissectors/: packet-radius.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Tue, 27 Sep 2005 00:03:46 GMT
User: guy
Date: 2005/09/26 07:03 PM

Log:
 Give more details about too-short AVPs, give up immediately for AVPs
 shorter than 2 bytes, and make the item for an AVP with a length < 2 a
 generated item.
 
 Put the top-level item for an AVP into the tree the same way regardless
 of whether it's Vendor-Specific or not, and skip past the type and
 length right after that, before we check for Vendor-Specific.  (This
 means we no longer treat "vendor ID = 0" as an indication that this
 isn't Vendor-Specific - nothing prevents a packet from getting onto the
 wire with a vendor ID of 0; this fixes bug 485.)
 
 Don't require a Vendor-Specific AVP to be at least 6 bytes long; it
 might not be particularly useful to have one that has a vendor ID and
 nothing else, but we might as well dissect the vendor ID portion.
 
 Do some other cleanups.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +36 -40    packet-radius.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16015&view=rev