forked from osmocom/wireshark
TECMP: Fixing wrong size of HW version in Status CM Msg (Bugfix)
The HW version is correctly parsed as 2 bytes but shown as 3 bytes in
the dissection. This is fixed here.
Fixes #17133
(cherry picked from commit 1546a0af26
)
This commit is contained in:
parent
6f489ee857
commit
d412877409
|
@ -783,7 +783,7 @@ dissect_tecmp_status_cm_vendor_data(tvbuff_t *tvb, packet_info *pinfo _U_, proto
|
|||
offset += 3;
|
||||
|
||||
tmp = tvb_get_guint16(tvb, offset, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_string_format(tree, hf_tecmp_payload_status_cm_vendor_technica_hw, tvb, offset, 3, NULL,
|
||||
proto_tree_add_string_format(tree, hf_tecmp_payload_status_cm_vendor_technica_hw, tvb, offset, 2, NULL,
|
||||
"Hardware Version: v.%d.%d",
|
||||
(tmp & 0x0000ff00) >> 8, tmp & 0x000000ff);
|
||||
offset += 2;
|
||||
|
|
Loading…
Reference in New Issue