diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-02-11 17:39:52 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-02-11 17:39:52 +0000 |
commit | a3ef2a7293537f4eabdeb82a947c4d9f6e860079 (patch) | |
tree | 1534d5393d0a55a50c32a8a41d072581bbc328f3 /epan/dissectors/packet-bssgp.c | |
parent | 3139b2acf2a860156a5076601dab5e8e0f7e9026 (diff) |
Fix bit_offset.
svn path=/trunk/; revision=47637
Diffstat (limited to 'epan/dissectors/packet-bssgp.c')
-rw-r--r-- | epan/dissectors/packet-bssgp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c index e962e9b9d6..09bc6f250b 100644 --- a/epan/dissectors/packet-bssgp.c +++ b/epan/dissectors/packet-bssgp.c @@ -1711,7 +1711,7 @@ static guint16 de_bssgp_ran_information_request_app_cont(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_) { tvbuff_t *new_tvb = NULL; - guint32 curr_offset; + int curr_offset, bit_offset; curr_offset = offset; @@ -1739,9 +1739,9 @@ de_bssgp_ran_information_request_app_cont(tvbuff_t *tvb, proto_tree *tree, packe /* 11.3.63.1.4 RAN-INFORMATION-REQUEST Application Container for the SON Transfer Application */ /* Reporting Cell Identifier */ /* convert to bit offset */ - curr_offset = curr_offset<<3; - curr_offset = dissect_s1ap_Global_ENB_ID(tvb, curr_offset<<3, &asn1_ctx, tree, hf_bssgp_Global_ENB_ID_PDU); - curr_offset = dissect_s1ap_SONtransferRequestContainer(tvb, curr_offset, &asn1_ctx, tree, hf_bssgp_SONtransferRequestContainer_PDU); + bit_offset = curr_offset<<3; + bit_offset = dissect_s1ap_Global_ENB_ID(tvb, bit_offset, &asn1_ctx, tree, hf_bssgp_Global_ENB_ID_PDU); + bit_offset = dissect_s1ap_SONtransferRequestContainer(tvb, bit_offset, &asn1_ctx, tree, hf_bssgp_SONtransferRequestContainer_PDU); curr_offset += 7; curr_offset >>= 3; } break; |