Metamako: Fixed int being printed as hex

After a recent merge, a type was changed to PRIu64, when it should of been PRIx64
This commit is contained in:
Lewis Hamilton 2022-10-24 13:54:04 +11:00 committed by Alexis La Goutte
parent 8d1efeba40
commit 4de19bf866
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ dissect_metamako(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data
/* De-duplication CRC64 Hash */
metamako_tlv_pos -= ( metamako_tlv_len + 1 ) * 4;
proto_tree_add_item(extensions_tree, hf_metamako_crchash, tvb, metamako_tlv_pos + 4, 8, ENC_BIG_ENDIAN);
proto_item_append_text(parent, ", CRC64 ECMA Hash: 0x%" PRIu64, tvb_get_ntoh64(tvb, metamako_tlv_pos + 4));
proto_item_append_text(parent, ", CRC64 ECMA Hash: 0x%" PRIx64, tvb_get_ntoh64(tvb, metamako_tlv_pos + 4));
/* Increment the offset by the Data + Tag size */
offset += ( metamako_tlv_len + 1 ) * 4;
break;