From a2a3e38fdb31c41a6d99c511244b11a9bd11bcad Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Thu, 10 Sep 2020 09:46:13 +0100 Subject: Fix some more dissector spellings. --- epan/dissectors/packet-ieee1905.c | 4 ++-- epan/dissectors/packet-ieee80211.c | 4 ++-- epan/dissectors/packet-rtps.c | 24 ++++++++++++------------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/epan/dissectors/packet-ieee1905.c b/epan/dissectors/packet-ieee1905.c index 1ee7764469..fd4c7bc6db 100644 --- a/epan/dissectors/packet-ieee1905.c +++ b/epan/dissectors/packet-ieee1905.c @@ -1168,7 +1168,7 @@ static const value_string ieee1905_tlv_types_vals[] = { { PUSH_BUTTON_EVENT_NOTIFICATION_TLV, "Push_Button_Event notification" }, { PUSH_BUTTON_JOIN_NOTIFICATION_TLV, "Push_Button_Join notification" }, { GENERIC_PHY_DEVICE_INFORMATION_TLV, "Generic Phy device information" }, - { DEVICE_IDENTIFICATION_TYPE_TLV, "Device identificaton type" }, + { DEVICE_IDENTIFICATION_TYPE_TLV, "Device identification type" }, { CONTROL_URL_TYPE_TLV, "Control URL type" }, { IPV4_TYPE_TLV, "IPv4 type" }, { IPV6_TYPE_TLV, "IPv6 type" }, @@ -1541,7 +1541,7 @@ static const value_string ieee1905_steering_policy_vals[] = { static const value_string ieee1905_error_code_vals[] = { { 0x01, "STA associated with a BSS operated by the Agent" }, { 0x02, "STA not associated with any BSS operated by the Agent" }, - { 0x03, "Client capability report undecified failure" }, + { 0x03, "Client capability report unspecified failure" }, { 0x04, "Backhaul steering request rejected because station cannot operate on specified channel" }, { 0x05, "Backhaul steering request rejected because target BSS signal too weak or not found" }, { 0x06, "Backhaul steering request authentication or association Rejected by target BSS" }, diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index e937399731..fd6292982c 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -29352,7 +29352,7 @@ proto_register_ieee80211(void) NULL, HFILL }}, {&hf_ieee80211_tag_bs_fbck_antenna_id, - {"BS-FBCK Anetenna ID", "wlan.beam_refine.bs_fbck_antenna_id", + {"BS-FBCK Antenna ID", "wlan.beam_refine.bs_fbck_antenna_id", FT_UINT40, BASE_DEC, NULL, 0x0000001800, NULL, HFILL }}, @@ -31836,7 +31836,7 @@ proto_register_ieee80211(void) FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, {&hf_ieee80211_hs20_osu_service_desc_len, - {"OSU Service Desctription Length", "wlan.hs20.osu_service_desc_len", + {"OSU Service Description Length", "wlan.hs20.osu_service_desc_len", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }}, {&hf_ieee80211_hs20_osu_service_desc_duple_len, diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c index 38b0e2951c..730f7b55a2 100644 --- a/epan/dissectors/packet-rtps.c +++ b/epan/dissectors/packet-rtps.c @@ -4194,7 +4194,7 @@ static void rtps_add_zlib_compressed_typeobject(proto_tree *tree _U_, packet_inf /* ------------------------------------------------------------------------- */ /* Insert in the protocol tree the next bytes interpreted as Sequence of - * Octects. + * Octets. * The formatted buffer is: [ 0x01, 0x02, 0x03, 0x04, ...] * The maximum number of elements displayed is 10, after that a '...' is * inserted. @@ -4826,7 +4826,7 @@ static gint rtps_util_add_rti_service_request(proto_tree * tree, packet_info *pi */ #define ENSURE_LENGTH(size) \ if (param_length < size) { \ - expert_add_info_format(pinfo, param_len_item, &ei_rtps_parameter_value_invalid, "ERROR: parameter value too small (must be at least %d octects)", size); \ + expert_add_info_format(pinfo, param_len_item, &ei_rtps_parameter_value_invalid, "ERROR: parameter value too small (must be at least %d octets)", size); \ break; \ } @@ -5983,7 +5983,7 @@ static gboolean dissect_parameter_sequence_v1(proto_tree *rtps_parameter_tree, p * +---------------+---------------+---------------+---------------+ * | unsigned long sequence_size | * +---------------+---------------+---------------+---------------+ - * | octect[0] | octet[1] | octect[2] | octet[3] | + * | octet[0] | octet[1] | octet[2] | octet[3] | * +---------------+---------------+---------------+---------------+ * | ... | * +---------------+---------------+---------------+---------------+ @@ -6000,7 +6000,7 @@ static gboolean dissect_parameter_sequence_v1(proto_tree *rtps_parameter_tree, p * +---------------+---------------+---------------+---------------+ * | unsigned long sequence_size | * +---------------+---------------+---------------+---------------+ - * | octect[0] | octet[1] | octect[2] | octet[3] | + * | octet[0] | octet[1] | octet[2 ] | octet[3] | * +---------------+---------------+---------------+---------------+ * | ... | * +---------------+---------------+---------------+---------------+ @@ -6017,7 +6017,7 @@ static gboolean dissect_parameter_sequence_v1(proto_tree *rtps_parameter_tree, p * +---------------+---------------+---------------+---------------+ * | unsigned long sequence_size | * +---------------+---------------+---------------+---------------+ - * | octect[0] | octet[1] | octect[2] | octet[3] | + * | octet[0] | octet[1] | octet[2] | octet[3] | * +---------------+---------------+---------------+---------------+ * | ... | * +---------------+---------------+---------------+---------------+ @@ -9507,7 +9507,7 @@ static void dissect_RTPS_DATA_BATCH(tvbuff_t *tvb, packet_info *pinfo, gint offs gint old_offset = offset; guint32 wid; /* Writer EntityID */ guint32 status_info = 0xffffffff; - gint32 octectsToSLEncapsulationId; + gint32 octetsToSLEncapsulationId; gint32 sampleListOffset; guint32 encapsulation_id; gboolean try_dissection_from_type_object = FALSE; @@ -9585,11 +9585,11 @@ static void dissect_RTPS_DATA_BATCH(tvbuff_t *tvb, packet_info *pinfo, gint offs } /* octetsToSLEncapsulationId */ - octectsToSLEncapsulationId = tvb_get_guint32(tvb, offset, encoding); + octetsToSLEncapsulationId = tvb_get_guint32(tvb, offset, encoding); proto_tree_add_item(tree, hf_rtps_data_batch_octets_to_sl_encap_id, tvb, - offset, 4, octectsToSLEncapsulationId); + offset, 4, octetsToSLEncapsulationId); offset += 4; - sampleListOffset = offset + octectsToSLEncapsulationId; + sampleListOffset = offset + octetsToSLEncapsulationId; /* Sample info list */ @@ -9598,7 +9598,7 @@ static void dissect_RTPS_DATA_BATCH(tvbuff_t *tvb, packet_info *pinfo, gint offs proto_tree *sil_tree; sample_info_count = 0; - sil_tree = proto_tree_add_subtree(tree, tvb, offset, octectsToSLEncapsulationId, + sil_tree = proto_tree_add_subtree(tree, tvb, offset, octetsToSLEncapsulationId, ett_rtps_sample_info_list, &list_item, "Sample Info List"); /* Allocate sample_info_flags and sample_info_length @@ -10992,7 +10992,7 @@ void proto_register_rtps(void) { HFILL } }, - /* Octects to next header ---------------------------------------------- */ + /* octets to next header ---------------------------------------------- */ { &hf_rtps_sm_octets_to_next_header, { "octetsToNextHeader", "rtps.sm.octetsToNextHeader", @@ -11629,7 +11629,7 @@ void proto_register_rtps(void) { }, { &hf_rtps_param_app_ack_octets_to_next_virtual_writer, - { "octetsToNextVirtualWriter", "rtps.app_ack.octects_to_next_virtual_writer", + { "octetsToNextVirtualWriter", "rtps.app_ack.octets_to_next_virtual_writer", FT_INT16, BASE_DEC, NULL, 0, NULL, HFILL } }, -- cgit v1.2.3