aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders <anders.broman@ericsson.com>2017-10-30 12:49:07 +0100
committerAnders Broman <a.broman58@gmail.com>2017-10-30 13:06:26 +0000
commite73571117cc991bea4e485e201809a6a0ae07247 (patch)
tree3c5538ac5bc8c03d3ed8664514b575fbdfd23a4b
parent9008d7f867acbef624cc9522513d39521b3ce2b9 (diff)
[BSSGP] Fix decoding of Paging Attempt Information in PAGING PS.
Change-Id: I46770e4e50c34f13eaf6244de0ac6345b12646b5 Reviewed-on: https://code.wireshark.org/review/24182 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-bssgp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c
index aa801bf..ee37094 100644
--- a/epan/dissectors/packet-bssgp.c
+++ b/epan/dissectors/packet-bssgp.c
@@ -3578,8 +3578,8 @@ de_bssgp_pag_attempt_info(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U
curr_offset = offset;
- proto_tree_add_item(tree, hf_bssgp_paging_attempt_count, tvb, curr_offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(tree, hf_bssgp_intended_num_of_pag_attempts, tvb, curr_offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_bssgp_paging_attempt_count, tvb, curr_offset, 1, ENC_BIG_ENDIAN);
curr_offset++;
return(curr_offset - offset);
@@ -4506,7 +4506,7 @@ bssgp_paging_ps(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 off
/* MS Radio Access Capability (note 5) MS Radio Access Capability/11.3.22 O TLV 7-? */
ELEM_OPT_TELV(BSSGP_IEI_MS_RADIO_ACCESS_CAPABILITY, GSM_A_PDU_TYPE_GM, DE_MS_RAD_ACC_CAP, NULL);
/* Paging Attempt Information (note 6) Paging Attempt Information/11.3.125 O TLV 3 */
- ELEM_OPT_TELV(BSSGP_IEI_PAG_ATTEMPT_INFO, BSSGP_PDU_TYPE, DE_BSSGP_CELL_ID, NULL);
+ ELEM_OPT_TELV(BSSGP_IEI_PAG_ATTEMPT_INFO, BSSGP_PDU_TYPE, DE_BSSGP_PAG_ATTEMPT_INFO, NULL);
EXTRANEOUS_DATA_CHECK(curr_len, 0, pinfo, &ei_bssgp_extraneous_data);
}