From bdeea8408e858ff1b51e4a2227ec1169d239a420 Mon Sep 17 00:00:00 2001 From: pascal Date: Tue, 8 May 2012 20:25:55 +0000 Subject: [PATCH] Fix last parameter for tvb_get_guid() call svn path=/trunk/; revision=42517 --- epan/dissectors/packet-dtpt.c | 2 +- epan/dissectors/packet-xmcp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-dtpt.c b/epan/dissectors/packet-dtpt.c index 8c8ab1fe96..cf2c694cf2 100644 --- a/epan/dissectors/packet-dtpt.c +++ b/epan/dissectors/packet-dtpt.c @@ -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)); diff --git a/epan/dissectors/packet-xmcp.c b/epan/dissectors/packet-xmcp.c index bb4c6d63f0..a9f59e4517 100644 --- a/epan/dissectors/packet-xmcp.c +++ b/epan/dissectors/packet-xmcp.c @@ -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),