aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authorDarien Spencer <cusneud@mail.com>2018-06-06 21:10:22 +0300
committerGerald Combs <gerald@wireshark.org>2018-06-06 20:05:40 +0000
commit79da59e31f569edd3bf88c10cbb58a338c4aeb0d (patch)
tree5fa0b579cf30e424088430d86e5308c63f878c21 /epan/dissectors/packet-umts_fp.c
parentc99e9d6aa46ae90af30ddbaa2b36ee493d2f86c3 (diff)
FP: Only show 1 digit after the dot for UL SIR
Using %f was printing 6 digits after the dot. The values for UL SIR TARGET are defined to the nearest 0.1 Change-Id: I02eb1b8edeaeee2574c4a92a3479490e1428a282 Reviewed-on: https://code.wireshark.org/review/28067 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index 5fdc1ea877..065d8694a8 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -2356,7 +2356,7 @@ dissect_dch_outer_loop_power_control(proto_tree *tree, packet_info *pinfo, tvbuf
proto_tree_add_float(tree, hf_fp_ul_sir_target, tvb, offset, 1, target);
offset++;
- col_append_fstr(pinfo->cinfo, COL_INFO, " UL SIR Target = %f", target);
+ col_append_fstr(pinfo->cinfo, COL_INFO, " UL SIR Target = %.1f", target);
return offset;
}