[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ethereal-cvs
Subject:    [Ethereal-cvs] rev 17425: /trunk/epan/dissectors/: packet-ber.c
From:       sahlberg () ethereal ! com
Date:       2006-02-28 9:39:55
Message-ID: 20060228093955.B82141713C () thud ! ethereal ! com
[Download RAW message or body]

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
_______________________________________________
Ethereal-cvs mailing list
Ethereal-cvs@ethereal.com
http://www.ethereal.com/mailman/listinfo/ethereal-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic