From 1b2fdeca132abe171372685c8ae3bf6637c8f7b7 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Tue, 27 Apr 2021 09:33:42 +0100 Subject: [PATCH] PTP: Fix a couple of spelling errors --- epan/dissectors/packet-ptp.c | 10 +++++----- tools/wireshark_words.txt | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/epan/dissectors/packet-ptp.c b/epan/dissectors/packet-ptp.c index 91da097cd7..751469878e 100644 --- a/epan/dissectors/packet-ptp.c +++ b/epan/dissectors/packet-ptp.c @@ -1439,7 +1439,7 @@ static int hf_ptp_v2_sequenceid = -1; static int hf_ptp_v2_controlfield = -1; static int hf_ptp_v2_controlfield_default = -1; static int hf_ptp_v2_logmessageperiod = -1; -static int hf_ptp_v2_flags_synchronizationUncertaion = -1; +static int hf_ptp_v2_flags_synchronizationUncertain = -1; /* Fields for PTP_Announce (=an) messages */ @@ -2738,7 +2738,7 @@ dissect_ptp_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean ptp hf_ptp_v2_flags_alternatemaster, tvb, PTP_V2_FLAGS_OFFSET, 2, ENC_BIG_ENDIAN); proto_tree_add_item(ptp_flags_tree, - hf_ptp_v2_flags_synchronizationUncertaion, tvb, PTP_V2_FLAGS_OFFSET, 2, ENC_BIG_ENDIAN); + hf_ptp_v2_flags_synchronizationUncertain, tvb, PTP_V2_FLAGS_OFFSET, 2, ENC_BIG_ENDIAN); proto_tree_add_item(ptp_flags_tree, hf_ptp_v2_flags_frequencytraceable, tvb, PTP_V2_FLAGS_OFFSET, 2, ENC_BIG_ENDIAN); @@ -5582,8 +5582,8 @@ proto_register_ptp(void) FT_BOOLEAN, 16, NULL, PTP_V2_FLAGS_FREQUENCY_TRACEABLE_BITMASK, NULL, HFILL } }, - { &hf_ptp_v2_flags_synchronizationUncertaion, - { "SYNCHRONIZATION_UNCERTAIN", "ptp.v2.flags.synchronizationUncertaion", + { &hf_ptp_v2_flags_synchronizationUncertain, + { "SYNCHRONIZATION_UNCERTAIN", "ptp.v2.flags.synchronizationUncertain", FT_BOOLEAN, 16, NULL, PTP_V2_FLAGS_SYNCHRONIZATION_UNCERTAIN_BITMASK, NULL, HFILL } }, @@ -6885,7 +6885,7 @@ proto_register_ptp(void) NULL, HFILL } }, { &hf_ptp_v2_oe_tlv_subtype_smpte_leapsecondjump_change, - { "Change in number", "ptp.v2.oe.smpte.leaspsecondjump", + { "Change in number", "ptp.v2.oe.smpte.leapsecondjump", FT_BOOLEAN, 8, TFS(&tfs_set_notset), PTP_V2_FLAGS_OE_SMPTE_LEAP_SECOND_JUMP_CHANGE, NULL, HFILL } }, diff --git a/tools/wireshark_words.txt b/tools/wireshark_words.txt index 2e244f8ee9..667253d90a 100644 --- a/tools/wireshark_words.txt +++ b/tools/wireshark_words.txt @@ -924,6 +924,7 @@ signaling simulcast skype slsch +smpte sname snaplen snow3g @@ -1072,6 +1073,7 @@ unauthenticated unbind unbuffered uncalculated +uncalibrated uncategorized unchannelized unciphered @@ -1127,6 +1129,7 @@ unparsed unprocessable unpublish unpunctuated +unreach unreassembled unreceived unrecoverable