From 024bf62555046c24e1ab6b471e4023aea159dd08 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 21 Feb 2016 08:25:40 -0500 Subject: [PATCH] Fix typo in PTP / Follow_Up Message / Follow Up information TLV. scaledLastGMPhaseChange -> scaledLastGmFreqChange Bug: 12150 Change-Id: I7b3d58c7d59364acb029e87f42da464c8840b95a Reviewed-on: https://code.wireshark.org/review/14050 Reviewed-by: Michael Mann --- epan/dissectors/packet-ptp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/epan/dissectors/packet-ptp.c b/epan/dissectors/packet-ptp.c index b46f7b8e11..66505613d3 100644 --- a/epan/dissectors/packet-ptp.c +++ b/epan/dissectors/packet-ptp.c @@ -1357,7 +1357,7 @@ static int hf_ptp_as_fu_tlv_organization_subtype = -1; static int hf_ptp_as_fu_tlv_cumulative_offset = -1; static int hf_ptp_as_fu_tlv_gm_base_indicator = -1; static int hf_ptp_as_fu_tlv_last_gm_phase_change = -1; -static int hf_ptp_as_fu_tlv_scaled_last_gm_phase_change = -1; +static int hf_ptp_as_fu_tlv_scaled_last_gm_freq_change = -1; /* Fields for PTP_DelayResponse (=dr) messages */ /* static int hf_ptp_v2_dr_receivetimestamp = -1; */ /* Field for seconds & nanoseconds */ @@ -2861,7 +2861,7 @@ dissect_ptp_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean ptp ENC_NA); proto_tree_add_item(ptp_tlv_tree, - hf_ptp_as_fu_tlv_scaled_last_gm_phase_change, + hf_ptp_as_fu_tlv_scaled_last_gm_freq_change, tvb, PTP_AS_FU_TLV_INFORMATION_OFFSET + PTP_AS_FU_TLV_SCALEDLASTGMFREQCHANGE_OFFSET, 4, @@ -5130,8 +5130,8 @@ proto_register_ptp(void) FT_BYTES, BASE_NONE, NULL, 0x00, NULL, HFILL } }, - { &hf_ptp_as_fu_tlv_scaled_last_gm_phase_change, - { "scaledLastGMPhaseChange", "ptp.as.fu.scaledLastGmPhaseChange", + { &hf_ptp_as_fu_tlv_scaled_last_gm_freq_change, + { "scaledLastGmFreqChange", "ptp.as.fu.scaledLastGmFreqChange", FT_INT32, BASE_DEC, NULL, 0x00, NULL, HFILL } },