forked from osmocom/wireshark
Some typos fixed.
Change-Id: I65df0c40d771c4854b73fd5c35d1af600f15f324 Reviewed-on: https://code.wireshark.org/review/6445 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
872a239732
commit
1b4f96516c
|
@ -93,7 +93,7 @@ that it's not good enough to distinguish between two given protocols.
|
||||||
|
|
||||||
Note: The heuristic code in a dissector *must not* cause an exception
|
Note: The heuristic code in a dissector *must not* cause an exception
|
||||||
(before returning FALSE) as this will prevent following
|
(before returning FALSE) as this will prevent following
|
||||||
heuristic dissector handoffs. In practce, this normally means
|
heuristic dissector handoffs. In practice, this normally means
|
||||||
that a test should be done to verify that the required data is
|
that a test should be done to verify that the required data is
|
||||||
available in the tvb before fetching from the tvb. (See the
|
available in the tvb before fetching from the tvb. (See the
|
||||||
example below).
|
example below).
|
||||||
|
|
|
@ -94,7 +94,7 @@ static int hf_a21_mscid_market_id = -1;
|
||||||
static int hf_a21_mscid_switch_number = -1;
|
static int hf_a21_mscid_switch_number = -1;
|
||||||
static int hf_a21_event = -1;
|
static int hf_a21_event = -1;
|
||||||
static int hf_a21_additional_event_info = -1;
|
static int hf_a21_additional_event_info = -1;
|
||||||
static int hf_a21_allowed_foward_link_message = -1;
|
static int hf_a21_allowed_forward_link_message = -1;
|
||||||
|
|
||||||
|
|
||||||
static gint ett_a21 = -1;
|
static gint ett_a21 = -1;
|
||||||
|
@ -479,7 +479,7 @@ dissect_a21_event(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, proto
|
||||||
offset++;
|
offset++;
|
||||||
if (length>1) {
|
if (length>1) {
|
||||||
if (event_id == 7) {
|
if (event_id == 7) {
|
||||||
proto_tree_add_item(tree, hf_a21_allowed_foward_link_message, tvb, offset, 2, ENC_BIG_ENDIAN);
|
proto_tree_add_item(tree, hf_a21_allowed_forward_link_message, tvb, offset, 2, ENC_BIG_ENDIAN);
|
||||||
/*offset += 2;*/
|
/*offset += 2;*/
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -558,7 +558,7 @@ dissect_a21_ie_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree, p
|
||||||
ie_tree = proto_tree_add_subtree_format(tree, tvb, offset, 1 + length_len + length, ett_a21_ie, &ti,
|
ie_tree = proto_tree_add_subtree_format(tree, tvb, offset, 1 + length_len + length, ett_a21_ie, &ti,
|
||||||
"%s : ", val_to_str_const(ie_type, a21_element_type_vals, "Unknown"));
|
"%s : ", val_to_str_const(ie_type, a21_element_type_vals, "Unknown"));
|
||||||
|
|
||||||
/* Octet 1-element identifie*/
|
/* Octet 1-element identifier */
|
||||||
proto_tree_add_item(ie_tree, hf_a21_element_identifier, tvb, offset, 1, ENC_BIG_ENDIAN);
|
proto_tree_add_item(ie_tree, hf_a21_element_identifier, tvb, offset, 1, ENC_BIG_ENDIAN);
|
||||||
offset++;
|
offset++;
|
||||||
proto_tree_add_item(ie_tree, hf_a21_gcsna_pdu_length, tvb, offset, length_len, ENC_BIG_ENDIAN);
|
proto_tree_add_item(ie_tree, hf_a21_gcsna_pdu_length, tvb, offset, length_len, ENC_BIG_ENDIAN);
|
||||||
|
@ -799,8 +799,8 @@ void proto_register_a21(void)
|
||||||
FT_UINT16, BASE_DEC, VALS(a21_additional_event_info_vals), 0x0,
|
FT_UINT16, BASE_DEC, VALS(a21_additional_event_info_vals), 0x0,
|
||||||
NULL, HFILL }
|
NULL, HFILL }
|
||||||
},
|
},
|
||||||
{ &hf_a21_allowed_foward_link_message,
|
{ &hf_a21_allowed_forward_link_message,
|
||||||
{"Allowed Forward Link Messages", "a21.allowed_foward_link_message",
|
{"Allowed Forward Link Messages", "a21.allowed_forward_link_message",
|
||||||
FT_UINT16, BASE_DEC, VALS(a21_additional_event_info_vals), 0x0,
|
FT_UINT16, BASE_DEC, VALS(a21_additional_event_info_vals), 0x0,
|
||||||
NULL, HFILL }
|
NULL, HFILL }
|
||||||
},
|
},
|
||||||
|
|
|
@ -5123,7 +5123,7 @@ proto_register_btsdp(void)
|
||||||
NULL, HFILL }
|
NULL, HFILL }
|
||||||
},
|
},
|
||||||
{ &hf_hcrp_device_location,
|
{ &hf_hcrp_device_location,
|
||||||
{ "Sevice Location", "btsdp.hcrp.device_location",
|
{ "Service Location", "btsdp.hcrp.device_location",
|
||||||
FT_STRING, BASE_NONE, NULL, 0,
|
FT_STRING, BASE_NONE, NULL, 0,
|
||||||
NULL, HFILL }
|
NULL, HFILL }
|
||||||
},
|
},
|
||||||
|
|
|
@ -1157,7 +1157,7 @@ static const value_string nds_reply_errors[] = {
|
||||||
{ 0xffffff0c, "(-244) No Object Delete Rights" },
|
{ 0xffffff0c, "(-244) No Object Delete Rights" },
|
||||||
{ 0xffffff0b, "(-245) No Object Create Rights" },
|
{ 0xffffff0b, "(-245) No Object Create Rights" },
|
||||||
{ 0xffffff0a, "(-246) No Property Delete Rights" },
|
{ 0xffffff0a, "(-246) No Property Delete Rights" },
|
||||||
{ 0xffffff09, "(-247) No Property Create Rigths" },
|
{ 0xffffff09, "(-247) No Property Create Rights" },
|
||||||
{ 0xffffff08, "(-248) No Property Write Rights" },
|
{ 0xffffff08, "(-248) No Property Write Rights" },
|
||||||
{ 0xffffff07, "(-249) No Propery Read Rights" },
|
{ 0xffffff07, "(-249) No Propery Read Rights" },
|
||||||
{ 0xffffff06, "(-250) Temp Remap" },
|
{ 0xffffff06, "(-250) Temp Remap" },
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* timestats.c
|
/* timestats.c
|
||||||
* routines for time statistics
|
* routines for time statistics
|
||||||
* Copyrigth 2003 Lars Roland
|
* Copyright 2003 Lars Roland
|
||||||
*
|
*
|
||||||
* Wireshark - Network traffic analyzer
|
* Wireshark - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@wireshark.org>
|
* By Gerald Combs <gerald@wireshark.org>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* timestats.h
|
/* timestats.h
|
||||||
* Routines and definitions for time statistics
|
* Routines and definitions for time statistics
|
||||||
* Copyrigth 2003 Lars Roland
|
* Copyright 2003 Lars Roland
|
||||||
*
|
*
|
||||||
* Wireshark - Network traffic analyzer
|
* Wireshark - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@wireshark.org>
|
* By Gerald Combs <gerald@wireshark.org>
|
||||||
|
|
Loading…
Reference in New Issue