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 <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2016-02-21 08:25:40 -05:00
parent f0fb79d534
commit 024bf62555
1 changed files with 4 additions and 4 deletions

View File

@ -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 }
},