aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssap.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2021-10-05 17:38:06 -0400
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-06 04:04:04 +0000
commit9ae0d3c4f1acdcdbf3bdf80c26c72c7930a39baf (patch)
tree2fee71f1585c66734979a64247a59c611bb1cab7 /epan/dissectors/packet-bssap.c
parentaa41dd9a561a2a6a66b6712a0a4cfc002271a3d8 (diff)
BSSAP: Use VLR number field
For some reason (copy and paste?) the SGSN number field was substituted for the VLR number field, and then later the latter got commented out as it was being unused.
Diffstat (limited to 'epan/dissectors/packet-bssap.c')
-rw-r--r--epan/dissectors/packet-bssap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bssap.c b/epan/dissectors/packet-bssap.c
index 940c984bd3..fb2c78c652 100644
--- a/epan/dissectors/packet-bssap.c
+++ b/epan/dissectors/packet-bssap.c
@@ -268,7 +268,7 @@ static int hf_bssap_extension = -1;
static int hf_bssap_type_of_number = -1;
static int hf_bssap_numbering_plan_id = -1;
static int hf_bssap_sgsn_number = -1;
-/* static int hf_bssap_vlr_number = -1; */
+static int hf_bssap_vlr_number = -1;
static int hf_bssap_call_priority = -1;
static int hf_bssap_gprs_loc_upd_type_ie = -1;
static int hf_bssap_Gs_cause_ie = -1;
@@ -1480,7 +1480,7 @@ dissect_bssap_vlr_number(tvbuff_t *tvb, proto_tree *tree, int offset)
proto_tree_add_item(ie_tree, hf_bssap_numbering_plan_id, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;
number_tvb = tvb_new_subset_length(tvb, offset, ie_len - 1);
- proto_tree_add_item(ie_tree, hf_bssap_sgsn_number, number_tvb, 0, -1, ENC_BCD_DIGITS_0_9);
+ proto_tree_add_item(ie_tree, hf_bssap_vlr_number, number_tvb, 0, -1, ENC_BCD_DIGITS_0_9);
return offset + ie_len - 1;
@@ -2173,12 +2173,10 @@ proto_register_bssap(void)
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
-#if 0
{ &hf_bssap_vlr_number,
{ "VLR number", "bssap.vlr_number",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }},
-#endif
{ &hf_bssap_cell_global_id_ie,
{ "Cell global identity IE", "bssap.cell_global_id_ie",