summaryrefslogtreecommitdiff
path: root/asn1
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-12-06 01:34:58 +0000
committerBill Meier <wmeier@newsguy.com>2010-12-06 01:34:58 +0000
commit03b57df5a077e1e3590a96b0ccf675cf2bc133dd (patch)
treed30cafc4dca690450bd630a40b77b47565857b85 /asn1
parent7cd3ff263b70c138a51ffb7a75c17220f9c70581 (diff)
downloadwireshark-03b57df5a077e1e3590a96b0ccf675cf2bc133dd.tar.gz
Fix various typos and spelling errors.
svn path=/trunk/; revision=35126
Diffstat (limited to 'asn1')
-rw-r--r--asn1/gsm_map/packet-gsm_map-template.c2
-rw-r--r--asn1/mpeg-pes/packet-mpeg-pes-template.c22
-rw-r--r--asn1/sabp/packet-sabp-template.c8
-rw-r--r--asn1/snmp/packet-snmp-template.c2
4 files changed, 17 insertions, 17 deletions
diff --git a/asn1/gsm_map/packet-gsm_map-template.c b/asn1/gsm_map/packet-gsm_map-template.c
index 70102146ca..30879250df 100644
--- a/asn1/gsm_map/packet-gsm_map-template.c
+++ b/asn1/gsm_map/packet-gsm_map-template.c
@@ -1805,7 +1805,7 @@ const value_string ssCode_vals[] = {
{ 0x13 ,"colp - connected line identification presentation" },
{ 0x14 ,"colr - connected line identification restriction" },
{ 0x15 ,"mci - malicious call identification" },
- { 0x18 ,"allNameIdentificationSS - all name indentification SS" },
+ { 0x18 ,"allNameIdentificationSS - all name identification SS" },
{ 0x19 ,"cnap - calling name presentation" },
{ 0x20 ,"allForwardingSS - all forwarding SS" },
{ 0x21 ,"cfu - call forwarding unconditional" },
diff --git a/asn1/mpeg-pes/packet-mpeg-pes-template.c b/asn1/mpeg-pes/packet-mpeg-pes-template.c
index 4313952a01..c83c5678be 100644
--- a/asn1/mpeg-pes/packet-mpeg-pes-template.c
+++ b/asn1/mpeg-pes/packet-mpeg-pes-template.c
@@ -261,7 +261,7 @@ dissect_mpeg_pes_header_data(tvbuff_t *tvb, packet_info *pinfo,
guint8 control;
proto_tree *trick_tree;
proto_item *trick_item;
-
+
trick_item = proto_tree_add_item(item,
hf_mpeg_pes_dsm_trick_mode, tvb,
offset, 1, FALSE);
@@ -274,7 +274,7 @@ dissect_mpeg_pes_header_data(tvbuff_t *tvb, packet_info *pinfo,
hf_mpeg_pes_dsm_trick_mode_control, tvb,
offset, 1,
control);
-
+
if (control == FAST_FORWARD_CONTROL
|| control == FAST_REVERSE_CONTROL)
{
@@ -508,12 +508,12 @@ dissect_mpeg_pes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset = dissect_mpeg_pes_Stream(tvb, offset, &asn1_ctx,
tree, hf_mpeg_pes_extension);
- /* https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2229
- * A value of 0 indicates that the PES packet length is neither specified nor
- * bounded and is allowed only in PES packets whose payload is a video elementary
- * stream contained in Transport Stream packets.
- * XXX Some one with access to the spec should check this
- */
+ /* https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2229
+ * A value of 0 indicates that the PES packet length is neither specified nor
+ * bounded and is allowed only in PES packets whose payload is a video elementary
+ * stream contained in Transport Stream packets.
+ * XXX Some one with access to the spec should check this
+ */
if(length !=0 && stream != STREAM_VIDEO){
length -= 5 * 8;
}
@@ -525,14 +525,14 @@ dissect_mpeg_pes(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
header_length, header_length);
dissect_mpeg_pes_header_data(header_data, pinfo, tree, flags);
offset += header_length * 8;
- /* lenght may be zero for Video stream */
+ /* length may be zero for Video stream */
if(length !=0 && stream != STREAM_VIDEO){
length -= header_length * 8;
}
}
- /* lenght may be zero for Video stream */
- if(length==0){
+ /* length may be zero for Video stream */
+ if(length==0){
proto_tree_add_item(tree, hf_mpeg_pes_data, tvb, (offset>>3),-1, FALSE);
return TRUE;
}
diff --git a/asn1/sabp/packet-sabp-template.c b/asn1/sabp/packet-sabp-template.c
index ba6f9de5fc..b5ff7f74ce 100644
--- a/asn1/sabp/packet-sabp-template.c
+++ b/asn1/sabp/packet-sabp-template.c
@@ -125,9 +125,9 @@ get_sabp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
/* Get the length of the sabp packet. offset in bits */
offset = dissect_per_length_determinant(tvb, bit_offset, &asn1_ctx, NULL, -1, &type_length);
- /*
+ /*
* Return the length of the PDU
- * which is 3 + the length of the length, we only care about lenght up to 16K
+ * which is 3 + the length of the length, we only care about length up to 16K
* ("n" less than 128) a single octet containing "n" with bit 8 set to zero;
* ("n" less than 16K) two octets containing "n" with bit 8 of the first octet set to 1 and bit 7 set to zero;
*/
@@ -150,7 +150,7 @@ dissect_sabp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* create the sbap protocol tree */
sabp_item = proto_tree_add_item(tree, proto_sabp, tvb, 0, -1, FALSE);
sabp_tree = proto_item_add_subtree(sabp_item, ett_sabp);
-
+
dissect_SABP_PDU_PDU(tvb, pinfo, sabp_tree);
}
@@ -191,7 +191,7 @@ void proto_register_sabp(void) {
/* Register fields and subtrees */
proto_register_field_array(proto_sabp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
-
+
/* Register dissector */
register_dissector("sabp", dissect_sabp, proto_sabp);
register_dissector("sabp.tcp", dissect_sabp_tcp, proto_sabp);
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c
index 4189b04a19..063aad6038 100644
--- a/asn1/snmp/packet-snmp-template.c
+++ b/asn1/snmp/packet-snmp-template.c
@@ -1553,7 +1553,7 @@ dissect_snmp_pdu(tvbuff_t *tvb, int offset, packet_info *pinfo,
* This is TCP, and we should, and can, do reassembly.
*
* Is the "Sequence Of" header split across segment
- * boundaries? We requre at least 6 bytes for the
+ * boundaries? We require at least 6 bytes for the
* header, which allows for a 4-byte length (ASN.1
* BER).
*/