Ethereal-cvs: [Ethereal-cvs] rev 13834: /trunk/plugins/agentx/: packet-agentx.c

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

Date: Sun, 20 Mar 2005 21:52:20 -0000
User: guy
Date: 2005/03/20 03:52 PM

Log:
 From Oleg Terletsky:
 
 	get rid of a debugging printout;
 
 	in "get_agentx_pdu_len()", fetch the payload length in the right
 	byte order.
 
 If the NETWORK_BYTE_ORDER flag isn't set, that means "little-endian",
 not "host byte order" - the host on which I'm typing this is big-endian!
 That means that using the "g_hton[ls]()" macros on the result of
 "tvb_get_ntoh[ls]()" won't give you little-endian values on a big-endian
 host; just directly use "tvb_get_letoh[ls]()" to fetch little-endian
 values.
 
 Use "proto_tree_add_item()" whenever possible.

Directory: /trunk/plugins/agentx/
  Changes    Path               Action
  +47 -91    packet-agentx.c    Modified



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