diff options
-rw-r--r-- | epan/dissectors/packet-amqp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-amqp.c b/epan/dissectors/packet-amqp.c index d8a9b7b4ee..bd137a51bf 100644 --- a/epan/dissectors/packet-amqp.c +++ b/epan/dissectors/packet-amqp.c @@ -43,6 +43,7 @@ #include <epan/exceptions.h> #include <epan/expert.h> #include <epan/prefs.h> +#include <epan/to_str.h> #include "packet-tcp.h" #include "packet-ssl.h" @@ -10989,8 +10990,8 @@ format_amqp_1_0_uuid(tvbuff_t *tvb, { e_guid_t uuid; tvb_get_guid(tvb, offset, &uuid, ENC_BIG_ENDIAN); - *value = tvb_format_text(tvb, offset, 16); - return 1; + *value = guid_to_str(wmem_packet_scope(), &uuid); + return 16; } static int |