aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authorDarien Spencer <cusneud@mail.com>2018-09-23 13:43:21 +0300
committerAnders Broman <a.broman58@gmail.com>2018-09-23 13:44:23 +0000
commit58b24edb191d93c07a693cd37c50fef602b14d9e (patch)
tree6a072d1d27b2491edfb2d862ef2ad0719dfd1260 /epan/dissectors/packet-umts_fp.c
parentf5da39399197a724425bbc6fa76d3d60cb989ec6 (diff)
FP: Fix Sub-Frame number dissection
For E-DCH TYPE 1 frames, the field showed in the tree was showing 1 bit instead of 3. Change-Id: Ia28b2a8381f02a0f636ccb47b95b707915b90ff8 Reviewed-on: https://code.wireshark.org/review/29793 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index b30ce40b61..94098da52d 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -2715,7 +2715,7 @@ dissect_e_dch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* Subframe number */
subframes[n].subframe_number = (tvb_get_guint8(tvb, offset) & 0x07);
proto_tree_add_bits_item(subframe_header_tree, hf_fp_edch_subframe_number, tvb,
- offset*8+5, 1, ENC_BIG_ENDIAN);
+ offset*8+5, 3, ENC_BIG_ENDIAN);
offset++;
/* Number of MAC-es PDUs */