aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee1722.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-04-04 10:43:51 -0400
committerJaap Keuter <jaap.keuter@xs4all.nl>2017-04-05 07:13:17 +0000
commit9f71c86880cb5c3eab65c82e6fb3d32e603f3709 (patch)
treecc40d31c249ad449a53a6fb0a20709395078fb37 /epan/dissectors/packet-ieee1722.c
parent70eeeff25ce9aab6f4725d325e13aac690f48f00 (diff)
A few more BASE_UNIT_STRING cases.
Change-Id: Ic443f773d19e63aad59292bfb540f58bda565241 Reviewed-on: https://code.wireshark.org/review/20917 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Diffstat (limited to 'epan/dissectors/packet-ieee1722.c')
-rw-r--r--epan/dissectors/packet-ieee1722.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee1722.c b/epan/dissectors/packet-ieee1722.c
index 360d99a575..a1256d94fc 100644
--- a/epan/dissectors/packet-ieee1722.c
+++ b/epan/dissectors/packet-ieee1722.c
@@ -576,7 +576,6 @@ static int dissect_1722_61883(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
offset += 4;
ti_datalen = proto_tree_add_item_ret_uint(ti_61883_tree, hf_1722_61883_stream_data_length, tvb, offset, 2, ENC_BIG_ENDIAN, &datalen);
- proto_item_append_text(ti_datalen, " bytes");
offset += 2;
/* tag field defines if CIP header is included or not */
@@ -837,7 +836,7 @@ void proto_register_1722_61883(void)
},
{ &hf_1722_61883_stream_data_length,
{ "1394 Stream Data Length", "61883.stream_data_len",
- FT_UINT16, BASE_DEC, NULL, 0x00, NULL, HFILL }
+ FT_UINT16, BASE_DEC|BASE_UNIT_STRING, &units_byte_bytes, 0x00, NULL, HFILL }
},
{ &hf_1722_61883_tag,
{ "1394 Packet Format Tag", "61883.tag",