aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@gmail.com>2024-04-02 21:24:42 +0100
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2024-04-03 12:29:24 +0000
commit83f46b61ef25e61eeafebe72412496904d9cfefc (patch)
tree48b8c84db0819f6312f153590472f57245de1ec7 /epan/dissectors
parentcd5630e375d45f70f22b132995979be0f3d85b6d (diff)
Fix some spelling errors
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-olsr.c2
-rw-r--r--epan/dissectors/packet-opa-mad.c4
-rw-r--r--epan/dissectors/packet-opsi.c2
-rw-r--r--epan/dissectors/packet-osi-options.c2
-rw-r--r--epan/dissectors/packet-rtps.c4
-rw-r--r--epan/dissectors/packet-sapdiag.c2
-rw-r--r--epan/dissectors/packet-sbus.c2
-rw-r--r--epan/dissectors/packet-sctp.c4
-rw-r--r--epan/dissectors/packet-sflow.c2
-rw-r--r--epan/dissectors/packet-tcpcl.c2
-rw-r--r--epan/dissectors/packet-usb.c2
-rw-r--r--epan/dissectors/packet-ymsg.c2
12 files changed, 15 insertions, 15 deletions
diff --git a/epan/dissectors/packet-olsr.c b/epan/dissectors/packet-olsr.c
index 2106ae3947..6852d8b1ae 100644
--- a/epan/dissectors/packet-olsr.c
+++ b/epan/dissectors/packet-olsr.c
@@ -287,7 +287,7 @@ static int dissect_olsr_hello(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ols
offset += 2;
- /*---------------------Dissect Hello Emission Invertal-------------------*/
+ /*---------------------Dissect Hello Emission Inverval-------------------*/
hTime = getOlsrTime(tvb_get_guint8(tvb, offset));
proto_tree_add_double_format_value(olsr_tree, hf_olsr_htime, tvb, offset, 1, hTime,
"%.3f (in seconds)", hTime);
diff --git a/epan/dissectors/packet-opa-mad.c b/epan/dissectors/packet-opa-mad.c
index e8fc404793..74fa500c9e 100644
--- a/epan/dissectors/packet-opa-mad.c
+++ b/epan/dissectors/packet-opa-mad.c
@@ -10099,7 +10099,7 @@ void proto_register_opa_mad(void)
FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }
},
- /* PortNeighrborNode*/
+ /* PortNeighborNode*/
{ &hf_opa_PortInfo_PortNeighborMode_reserved, {
"PortNeighborMode Reserved (4 bits)", "opa.portinfo.portneighbormode.reserved",
FT_UINT8, BASE_HEX, NULL, 0xF0, NULL, HFILL }
@@ -12084,7 +12084,7 @@ void proto_register_opa_mad(void)
FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }
},
- /* Gerneral PA */
+ /* General PA */
{ &hf_opa_ImageID_imageNumber, {
"imageNumber", "opa.pa.imageid.imagenumber",
FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL }
diff --git a/epan/dissectors/packet-opsi.c b/epan/dissectors/packet-opsi.c
index 2ed83bd4d1..644c7fd964 100644
--- a/epan/dissectors/packet-opsi.c
+++ b/epan/dissectors/packet-opsi.c
@@ -575,7 +575,7 @@ dissect_opsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data
static int
dissect_opsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
{
- /* We should mimimally grab the header */
+ /* We should minimally grab the header */
tcp_dissect_pdus(tvb, pinfo, tree, opsi_desegment, HEADER_LENGTH, get_opsi_pdu_len,
dissect_opsi_pdu, data);
return tvb_reported_length(tvb);
diff --git a/epan/dissectors/packet-osi-options.c b/epan/dissectors/packet-osi-options.c
index d9dbb528ca..3c1d53278d 100644
--- a/epan/dissectors/packet-osi-options.c
+++ b/epan/dissectors/packet-osi-options.c
@@ -273,7 +273,7 @@ dissect_option_qos(const guint8 qos, proto_tree *tree, tvbuff_t *tvb, int offset
ti = proto_tree_add_item(tree, hf_osi_options_qos_maintenance, tvb, offset, 1, ENC_BIG_ENDIAN);
osi_qos_tree = proto_item_add_subtree(ti, ett_osi_qos);
- if ( ((qos & OSI_OPT_QOS_MASK) >> 6) == OSI_OPT_QOS_GLOBAL_UNIQUE) { /* Analye BIT field to get all Values */
+ if ( ((qos & OSI_OPT_QOS_MASK) >> 6) == OSI_OPT_QOS_GLOBAL_UNIQUE) { /* Analyze BIT field to get all Values */
proto_tree_add_item(osi_qos_tree, hf_osi_options_qos_reserved, tvb, offset, 1, ENC_NA);
proto_tree_add_item(osi_qos_tree, hf_osi_options_qos_sequencing_vs_transit_delay, tvb, offset, 1, ENC_NA);
proto_tree_add_item(osi_qos_tree, hf_osi_options_congestion_experienced, tvb, offset, 1, ENC_NA);
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c
index 88c6071756..3bfc74667b 100644
--- a/epan/dissectors/packet-rtps.c
+++ b/epan/dissectors/packet-rtps.c
@@ -7136,7 +7136,7 @@ static gboolean dissect_parameter_sequence_rti_dds(proto_tree *rtps_parameter_tr
compression_plugin_class = tvb_get_guint32(tvb, offset, encoding);
decompressed_size = tvb_get_guint32(tvb, offset + 4, encoding);
- /* Get the numer of bytes (elements) in the sequence */
+ /* Get the number of bytes (elements) in the sequence */
compressed_size = tvb_get_guint32(tvb, offset + 8, encoding);
switch(compression_plugin_class) {
@@ -14029,7 +14029,7 @@ static void initialize_instance_state_data_response_dissection_info(builtin_type
* };
*/
- /* All dissection_infos are added to the "dissction_infos" map */
+ /* All dissection_infos are added to the "dissection_infos" map */
/* value */
g_strlcpy(_builtin_types_dissection_data->dissection_infos.value_dissection_info.member_name, "value", MAX_TOPIC_AND_TYPE_LENGTH);
diff --git a/epan/dissectors/packet-sapdiag.c b/epan/dissectors/packet-sapdiag.c
index 5be0b736cb..acfc81dee0 100644
--- a/epan/dissectors/packet-sapdiag.c
+++ b/epan/dissectors/packet-sapdiag.c
@@ -634,7 +634,7 @@ static const value_string sapdiag_item_appl_dynt_vals[] = {
/* SAP Diag Item APPL/APPL4 CONTAINER SID values */
static const value_string sapdiag_item_appl_container_vals[] = {
- /* CONTAINTER */
+ /* CONTAINER */
{ 0x01, "RESET" },
{ 0x02, "DEFAULT" },
{ 0x03, "SUBSCREEN" },
diff --git a/epan/dissectors/packet-sbus.c b/epan/dissectors/packet-sbus.c
index 62ebbbfb0c..b02f28fb61 100644
--- a/epan/dissectors/packet-sbus.c
+++ b/epan/dissectors/packet-sbus.c
@@ -2110,7 +2110,7 @@ dissect_sbus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
offset += 2;
}
- /* Calclulate CRC */
+ /* Calculate CRC */
sbus_crc_calc = 0;
for (i = 0; i < sbus_eth_len - 2; i++)
sbus_crc_calc = crc_calc (sbus_crc_calc, tvb_get_guint8(tvb, i));
diff --git a/epan/dissectors/packet-sctp.c b/epan/dissectors/packet-sctp.c
index 00b06e94b3..cad38c09bd 100644
--- a/epan/dissectors/packet-sctp.c
+++ b/epan/dissectors/packet-sctp.c
@@ -1089,7 +1089,7 @@ get_half_assoc(packet_info *pinfo, guint32 spt, guint32 dpt, guint32 vtag)
*hb = NULL;
}
} else {
- /* we found no entry in the table: add one (using reversed ports and src addresss) so that it can be matched later */
+ /* we found no entry in the table: add one (using reversed ports and src addresses) so that it can be matched later */
*(hb = (sctp_half_assoc_t **)wmem_alloc(wmem_file_scope(), sizeof(void*))) = ha;
k = make_address_key(pinfo->pool, spt, dpt, &(pinfo->src));
wmem_tree_insert32_array(dirs_by_ptaddr, k, hb);
@@ -3724,7 +3724,7 @@ dissect_init_ack_chunk(tvbuff_t *chunk_tvb, guint16 chunk_length, packet_info *p
tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_OUTBOUND_STREAMS_OFFSET),
tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_INBOUND_STREAMS_OFFSET));
}
- /* handle variable paramters */
+ /* handle variable parameters */
chunk_length -= INIT_CHUNK_FIXED_PARAMTERS_LENGTH;
parameters_tvb = tvb_new_subset_length_caplen(chunk_tvb, INIT_CHUNK_VARIABLE_LENGTH_PARAMETER_OFFSET,
MIN(chunk_length, tvb_captured_length_remaining(chunk_tvb, INIT_CHUNK_VARIABLE_LENGTH_PARAMETER_OFFSET)),
diff --git a/epan/dissectors/packet-sflow.c b/epan/dissectors/packet-sflow.c
index 54c77d9f9e..0f3a44667d 100644
--- a/epan/dissectors/packet-sflow.c
+++ b/epan/dissectors/packet-sflow.c
@@ -379,7 +379,7 @@ static int hf_sflow_245_packet_information_type;
static int hf_sflow_245_extended_information_type;
static int hf_sflow_245_vlan_in; /* incoming 802.1Q VLAN ID */
static int hf_sflow_245_vlan_out; /* outgoing 802.1Q VLAN ID */
-static int hf_sflow_245_pri_in; /* incominging 802.1p priority */
+static int hf_sflow_245_pri_in; /* incoming 802.1p priority */
static int hf_sflow_245_pri_out; /* outgoing 802.1p priority */
static int hf_sflow_245_nexthop_v4; /* nexthop address */
static int hf_sflow_245_nexthop_v6; /* nexthop address */
diff --git a/epan/dissectors/packet-tcpcl.c b/epan/dissectors/packet-tcpcl.c
index 907f3461db..a17ff4c7bd 100644
--- a/epan/dissectors/packet-tcpcl.c
+++ b/epan/dissectors/packet-tcpcl.c
@@ -2401,7 +2401,7 @@ proto_register_tcpcl(void)
"desegment_transfer",
"Reassemble the segments of each transfer",
"Whether the TCPCL dissector should combine the sequential segments "
- "of a transfer into the full bundle being transfered."
+ "of a transfer into the full bundle being transferred."
"To use this option, you must also enable "
"\"Allow subdissectors to reassemble TCP streams\" "
"in the TCP protocol settings.",
diff --git a/epan/dissectors/packet-usb.c b/epan/dissectors/packet-usb.c
index 01676054e5..989d7a7ef5 100644
--- a/epan/dissectors/packet-usb.c
+++ b/epan/dissectors/packet-usb.c
@@ -2419,7 +2419,7 @@ dissect_usb_string_descriptor(packet_info *pinfo _U_, proto_tree *parent_tree,
}
if (!usb_trans_info->u.get_descriptor.usb_index) {
- /* list of languanges */
+ /* list of languages */
while (offset >= old_offset && len > (offset - old_offset)) {
/* wLANGID */
proto_tree_add_item(tree, hf_usb_wLANGID, tvb, offset, 2, ENC_LITTLE_ENDIAN);
diff --git a/epan/dissectors/packet-ymsg.c b/epan/dissectors/packet-ymsg.c
index 9be640cd05..94967f6e31 100644
--- a/epan/dissectors/packet-ymsg.c
+++ b/epan/dissectors/packet-ymsg.c
@@ -448,7 +448,7 @@ dissect_ymsg_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data
proto_tree_add_item(content_line_tree, hf_ymsg_content_line_value, tvb,
offset+keylen+2, vallen, ENC_ASCII);
- /* Move beyone key and value lines */
+ /* Move beyond key and value lines */
offset += keylen+2+vallen+2;
}
}