aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rp.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2008-11-20 21:35:25 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2008-11-20 21:35:25 +0000
commit2bbbd462ec404328970ea5c8a4009aa19411ffa9 (patch)
treedb11d1a6c37a1d57dfd26b63792971edfffb73c1 /epan/dissectors/packet-gsm_a_rp.c
parentfe42d6af0a1ca818452ba11c42e83bdbb1054a51 (diff)
From Pascal Quantin:
RP IEs fail to decode due to a wrong size of ett[] table. svn path=/trunk/; revision=26817
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rp.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_rp.c b/epan/dissectors/packet-gsm_a_rp.c
index 4c91e8d9b3..edbc3d3d7f 100644
--- a/epan/dissectors/packet-gsm_a_rp.c
+++ b/epan/dissectors/packet-gsm_a_rp.c
@@ -558,7 +558,8 @@ proto_register_gsm_a_rp(void)
/* Setup protocol subtree array */
#define NUM_INDIVIDUAL_ELEMS 1
static gint *ett[NUM_INDIVIDUAL_ELEMS +
- NUM_GSM_RP_MSG];
+ NUM_GSM_RP_MSG +
+ NUM_GSM_RP_ELEM];
ett[0] = &ett_rp_msg;