aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tcap.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-12 16:45:53 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-12 16:45:53 +0000
commit2c38bcf4b85d5ea3e32b8bbb69427f2cdef81a3d (patch)
treecdd9582d6114d6de2f31a6d7f4d1ef0d867d5714 /epan/dissectors/packet-tcap.c
parent57cf4bd8c75a3a6e2d8bd4a4bf930f92f5496ff1 (diff)
Use the new ANSI TCAP dissector.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22854 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tcap.c')
-rw-r--r--epan/dissectors/packet-tcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tcap.c b/epan/dissectors/packet-tcap.c
index 7a4d67a0db..90595f5275 100644
--- a/epan/dissectors/packet-tcap.c
+++ b/epan/dissectors/packet-tcap.c
@@ -2518,7 +2518,7 @@ dissect_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
*
*/
get_ber_identifier(tvb, 0, &class, &pc, &tag);
-#if 0
+
if(class == BER_CLASS_PRI){
switch(tag){
case 1:
@@ -2535,7 +2535,7 @@ dissect_tcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
return;
}
}
-#endif
+
/* ITU TCAP */
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);