aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-s1ap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-11-20 21:51:48 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-11-20 21:51:48 +0000
commit9da838cb7ed1c645402fed7a7d4a48bc3a62f2f9 (patch)
tree0daf6247e496e63afa5db1ace796cf613cc6c801 /epan/dissectors/packet-s1ap.c
parenta3839c2a85234bd39ad4650b27b8b4baa844c772 (diff)
offset is in bits
svn path=/trunk/; revision=31036
Diffstat (limited to 'epan/dissectors/packet-s1ap.c')
-rw-r--r--epan/dissectors/packet-s1ap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-s1ap.c b/epan/dissectors/packet-s1ap.c
index 5f7a67aba6..b2db510370 100644
--- a/epan/dissectors/packet-s1ap.c
+++ b/epan/dissectors/packet-s1ap.c
@@ -3729,7 +3729,7 @@ dissect_s1ap_Source_ToTarget_TransparentContainer(tvbuff_t *tvb _U_, int offset
NO_BOUND, NO_BOUND, FALSE, NULL);
- parameter_tvb = tvb_new_subset(tvb, start_offset, -1, -1);
+ parameter_tvb = tvb_new_subset(tvb, start_offset>>3, -1, -1);
subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_ToTargetTransparentContainer);
switch(handover_type_value){
@@ -4078,7 +4078,7 @@ dissect_s1ap_Target_ToSource_TransparentContainer(tvbuff_t *tvb _U_, int offset
NO_BOUND, NO_BOUND, FALSE, NULL);
- parameter_tvb = tvb_new_subset(tvb, start_offset, -1, -1);
+ parameter_tvb = tvb_new_subset(tvb, start_offset>>3, -1, -1);
subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_ToSourceTransparentContainer);
switch(handover_type_value){