Fix last parameter for tvb_get_guid() call

svn path=/trunk/; revision=42517
This commit is contained in:
pascal 2012-05-08 20:25:55 +00:00
parent 19a766b152
commit bdeea8408e
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ dissect_dtpt_guid(tvbuff_t *tvb, guint offset, proto_tree *tree, int hfindex)
const gchar *guid_name = NULL;
if (guid_length) {
tvb_get_guid(tvb, offset+4, &guid, 1);
tvb_get_guid(tvb, offset+4, &guid, ENC_LITTLE_ENDIAN);
}
else {
memset(&guid, 0, sizeof(guid));

View File

@ -607,7 +607,7 @@ decode_xmcp_attr_value (proto_tree *attr_tree, guint16 attr_type,
{
e_guid_t guid;
char buf[GUID_STR_LEN];
tvb_get_guid(tvb, (offset+4), &guid, FALSE);
tvb_get_guid(tvb, (offset+4), &guid, ENC_BIG_ENDIAN);
guid_to_str_buf(&guid, buf, sizeof(buf));
proto_item_append_text(attr_tree, ": %u:%u:%s",
tvb_get_ntohs(tvb, offset),