aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-01-23 15:56:29 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-01-23 15:56:29 +0000
commitd59e9cf574976b1e9849f5c35be1fd2abdf8ed6d (patch)
treea1ad17d576e30bec6fb4563562e18c94494ee9ea /epan/dissectors
parentc94d02cf851795a3c3a46ce4034007f6120b58b5 (diff)
mm_context_used_cipher is 3 bits.
svn path=/trunk/; revision=47230
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-gtpv2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c
index 00549ab8ad..c5d346ed79 100644
--- a/epan/dissectors/packet-gtpv2.c
+++ b/epan/dissectors/packet-gtpv2.c
@@ -1,7 +1,7 @@
/* packet-gtpv2.c
*
* Routines for GTPv2 dissection
- * Copyright 2009 - 2011, Anders Broman <anders.broman [at] ericcsson.com>
+ * Copyright 2009 - 2012, Anders Broman <anders.broman [at] ericcsson.com>
*
* $Id$
*
@@ -3040,7 +3040,7 @@ dissect_gtpv2_mm_context_utms_cq(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tr
offset += 1;
/* Octet 7 Spare Used Cipher */
proto_tree_add_bits_item(flag_tree, hf_gtpv2_spare_bits, tvb, ((offset << 3)), 5, ENC_BIG_ENDIAN);
- proto_tree_add_bits_item(flag_tree, hf_gtpv2_mm_context_used_cipher, tvb, (offset << 3) + 7, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_bits_item(flag_tree, hf_gtpv2_mm_context_used_cipher, tvb, (offset << 3) + 5, 3, ENC_BIG_ENDIAN);
offset += 1;
/* Octet 8 to 23 CK */