aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_common.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-08-30 17:23:36 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-08-30 17:23:36 +0000
commitc82839c0a29c25641c0ee311b39015662cc66eb7 (patch)
treec7e2d44e11ff9a1788c8eb2280dcf07552ab538e /epan/dissectors/packet-gsm_a_common.c
parent36ff508507eb52ae37e5015f52701bb1d26cafcf (diff)
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9085 :
GSM A-I/F DTAP - Detach Request - Detach type is not displayed svn path=/trunk/; revision=51599
Diffstat (limited to 'epan/dissectors/packet-gsm_a_common.c')
-rw-r--r--epan/dissectors/packet-gsm_a_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c
index 2904559981..7b327b7db1 100644
--- a/epan/dissectors/packet-gsm_a_common.c
+++ b/epan/dissectors/packet-gsm_a_common.c
@@ -3226,7 +3226,7 @@ guint16 de_spare_nibble(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_,
else
bit_offset = 0;
- proto_tree_add_bits_item(tree, hf_gsm_a_spare_nibble, tvb, (curr_offset<<3)+bit_offset+3, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_bits_item(tree, hf_gsm_a_spare_nibble, tvb, (curr_offset<<3)+bit_offset, 4, ENC_BIG_ENDIAN);
curr_offset = curr_offset + 1;
return(curr_offset - offset);