From b41a70362094afe667780fd9648f0197d5dad699 Mon Sep 17 00:00:00 2001 From: Morris <1237906+morris-stock@users.noreply.github.com> Date: Sat, 19 Jan 2019 13:21:19 +0800 Subject: [PATCH] FT_BYTES fields are always displayed as hex fix #9, see answer [here](https://osqa-ask.wireshark.org/questions/63411/multiple-lua-error-during-loading-issues-reported-after-install-of-win64-version-240/63414) --- modules/generic/proto_fields.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/generic/proto_fields.lua b/modules/generic/proto_fields.lua index 077cd3d..5ebccce 100644 --- a/modules/generic/proto_fields.lua +++ b/modules/generic/proto_fields.lua @@ -33,7 +33,7 @@ local proto_pfields = { tag = ProtoField.uint32("protobuf.tag", "Tag", base.DEC, nil, nil, "Field tag value"), wiretype = ProtoField.uint8 ("protobuf.wiretype", "Wire Type", base.DEC, wiretype_valstring, 0x07, "Field wire type value"), length = ProtoField.uint32("protobuf.length", "Length", base.DEC, nil, nil, "Field length"), - value = ProtoField.bytes ("protobuf.value", "Value", base.HEX, nil, nil, "Field value bytes"), + value = ProtoField.bytes ("protobuf.value", "Value", base.NONE, nil, nil, "Field value bytes"), length_delimiter = ProtoField.uint32("protobuf.length_delimiter_value", "Length Delimiter Value", base.DEC, nil, nil, "Field length-delimited length value"), -- following are for wiretypes for unknown fields @@ -41,7 +41,7 @@ local proto_pfields = { FIXED64 = ProtoField.uint64("protobuf.fixed64", "Fixed64 Value", base.DEC, nil, nil, "Unknown Fixed64 Field value"), VARINT = ProtoField.uint64("protobuf.varint", "Varint Value", base.DEC, nil, nil, "Unknown Varint Field value"), GROUP = ProtoField.bytes ("protobuf.group", "Group", base.NONE, nil, nil, "Unknown Group Field"), - LENGTH_BYTES = ProtoField.bytes("protobuf.length_delimited_bytes", "Length Delimited Bytes", base.HEX, nil, nil, "Unknown Length Delimited Field"), + LENGTH_BYTES = ProtoField.bytes("protobuf.length_delimited_bytes", "Length Delimited Bytes", base.NONE, nil, nil, "Unknown Length Delimited Field"), }