Ethereal-cvs: [Ethereal-cvs] rev 17425: /trunk/epan/dissectors/: packet-ber.c packet-ber.h pac

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

Date: Tue, 28 Feb 2006 09:39:55 GMT
User: sahlberg
Date: 2006/02/28 03:39 AM

Log:
 add new   dissect_ber_integer64()  that can handle 8,16,24,32 and 64bit integers.
 
 use proto_tree_add_[u]int[8,16,24,32,64]() instread of proto_tree_add_item()
 since BER integers may well be encoded in less bytes than the type requires.
 (i do not think the old code with proto_tree_add_item() could have handleded negative values very well    or at all.)

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +49 -42    packet-ber.c     Modified
  +2 -0      packet-ber.h     Modified
  +5 -13     packet-snmp.c    Modified

Directory: /trunk/epan/
  Changes    Path               Action
  +1 -0      libethereal.def    Modified



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