aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ptp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-09-30 15:42:18 +0000
committerMichael Mann <mmann78@netscape.net>2013-09-30 15:42:18 +0000
commit47bca84efb52f3998f47bac03e09f34a6cd2b03a (patch)
treeb48d150ef0c9fdd0abc9866b3d41fabfa7b631df /epan/dissectors/packet-ptp.c
parent097feb5a6446635875816a57189a68c017ad82cd (diff)
Convert proto_tree_add_double_format calls to proto_tree_add_double_format_value where appropriate.
svn path=/trunk/; revision=52298
Diffstat (limited to 'epan/dissectors/packet-ptp.c')
-rw-r--r--epan/dissectors/packet-ptp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ptp.c b/epan/dissectors/packet-ptp.c
index 2b3a978ed0..6813f89185 100644
--- a/epan/dissectors/packet-ptp.c
+++ b/epan/dissectors/packet-ptp.c
@@ -2316,9 +2316,9 @@ dissect_ptp_v2_timeInterval(tvbuff_t *tvb, guint16 *cur_offset, proto_tree *tree
proto_tree_add_uint64_format_value(ptptimeInterval_subtree,
hf_ptp_v2_timeInterval_ns, tvb, *cur_offset, 6, time_ns, "Ns: %" G_GINT64_MODIFIER "d nanoseconds", time_ns);
- proto_tree_add_double_format(ptptimeInterval_subtree,
+ proto_tree_add_double_format_value(ptptimeInterval_subtree,
hf_ptp_v2_timeInterval_subns, tvb, *cur_offset+6, 2, (time_subns/65536.0),
- "SubNs: %f nanoseconds", (time_subns/65536.0));
+ "%f nanoseconds", (time_subns/65536.0));
*cur_offset = *cur_offset + 8;
}