diff options
Diffstat (limited to 'epan/dissectors/packet-tecmp.c')
-rw-r--r-- | epan/dissectors/packet-tecmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tecmp.c b/epan/dissectors/packet-tecmp.c index 144984659c..94832965ed 100644 --- a/epan/dissectors/packet-tecmp.c +++ b/epan/dissectors/packet-tecmp.c @@ -1239,7 +1239,7 @@ dissect_tecmp_status_device_vendor_data(tvbuff_t *tvb, packet_info *pinfo _U_, p tmp = tvb_get_guint16(tvb, offset, ENC_BIG_ENDIAN); proto_tree_add_string_format_value(tree, hf_tecmp_payload_status_dev_vendor_technica_voltage, tvb, offset, 2, NULL, - "%d.%d V", (tmp & 0x0000ff00) >> 8, tmp & 0x000000ff); + "%d.%02d V", (tmp & 0x0000ff00) >> 8, tmp & 0x000000ff); offset += 2; if (tvb_captured_length_remaining(tvb, offset) == 1) { |