diff options
author | pascal <pascal@localhost> | 2012-05-08 20:25:55 +0000 |
---|---|---|
committer | pascal <pascal@localhost> | 2012-05-08 20:25:55 +0000 |
commit | bdeea8408e858ff1b51e4a2227ec1169d239a420 (patch) | |
tree | 21bebbda4246b6558e4ecd6a1262c7889b2337c4 | |
parent | 19a766b15290cb90742b9ccaadf45f98b15d20e8 (diff) |
Fix last parameter for tvb_get_guid() call
svn path=/trunk/; revision=42517
-rw-r--r-- | epan/dissectors/packet-dtpt.c | 2 | ||||
-rw-r--r-- | 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), |