diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-07-09 14:09:59 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-07-09 14:09:59 +0000 |
commit | c292a06768ad13028f7949f2229d27fece1667f8 (patch) | |
tree | db55dff151edc32d1d2821acc7f8cdd9c212f88d /epan/dissectors/packet-gtp.c | |
parent | 32add033668273238dea9db3f73406ed7cb8e7bd (diff) |
Dissect Release 8 CDR:s
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43624 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r-- | epan/dissectors/packet-gtp.c | 6 |
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); |