aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-07-09 14:09:59 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-07-09 14:09:59 +0000
commiteedc186e94e1ceb87d27f02980936209bd1ccdd1 (patch)
treedb55dff151edc32d1d2821acc7f8cdd9c212f88d /epan/dissectors/packet-gtp.c
parent3be39a23aa67f821dd4785199e6e778414715254 (diff)
Dissect Release 8 CDR:s
svn path=/trunk/; revision=43624
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r--epan/dissectors/packet-gtp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index 63db2ca36f..711041f19d 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -7550,7 +7550,11 @@ decode_gtp_data_req(tvbuff_t * tvb, int offset, packet_info * pinfo _U_, proto_t
/* XXX this is for release 6, may not work for higher releases */
if(format==1) {
- dissect_gprscdr_GPRSCallEventRecord_PDU(next_tvb, pinfo, cdr_dr_tree);
+ if(rel_id == 6){
+ dissect_gprscdr_GPRSCallEventRecord_PDU(next_tvb, pinfo, cdr_dr_tree);
+ }else if(rel_id == 8){
+ dissect_gprscdr_GPRSRecord_PDU(next_tvb, pinfo, cdr_dr_tree);
+ }
} else {
/* Do we have a dissector regestering for this data format? */
dissector_try_uint(gtp_cdr_fmt_dissector_table, format, next_tvb, pinfo, cdr_dr_tree);