Ethereal-cvs: [Ethereal-cvs] rev 13640: /trunk/epan/dissectors/: packet-bacapp.c

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

Date: Sun, 06 Mar 2005 22:14:34 -0000
User: guy
Date: 2005/03/06 04:14 PM

Log:
 The length field in the "BACnet encoding rules" is limited to 32 bits
 ("Data lengths larger than 2^32-1 are not encodable using primitive
 tags"), so it doesn't need to be a "guint64" - but it *can* be that big,
 so we should handle the 65536-2^32-1 case.
 
 Don't gratuitously throw away the upper 24 bits of various lengths by
 casting them to guint8.
 
 Show signed values as such.
 
 Don't use "match_strval()" - it returns a null pointer if it doesn't
 find the value in the value_string table; instead, use "val_to_str()" so
 we don't blow up if the value isn't found.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +135 -119  packet-bacapp.c    Modified



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