forked from osmocom/wireshark
![]() 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. svn path=/trunk/; revision=13834 |
||
---|---|---|
.. | ||
AUTHORS | ||
Makefile.am | ||
Makefile.nmake | ||
moduleinfo.h | ||
packet-agentx.c |