aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/tcap/packet-tcap-template.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-09-12 16:45:53 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-09-12 16:45:53 +0000
commitc4daf58278f11b67ae204681cb57d0453d095f33 (patch)
treecdd9582d6114d6de2f31a6d7f4d1ef0d867d5714 /asn1/tcap/packet-tcap-template.c
parent626c9f3d610664fe2bb6e515647ba0a5044ae4a8 (diff)
Use the new ANSI TCAP dissector.
svn path=/trunk/; revision=22854
Diffstat (limited to 'asn1/tcap/packet-tcap-template.c')
-rw-r--r--asn1/tcap/packet-tcap-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/tcap/packet-tcap-template.c b/asn1/tcap/packet-tcap-template.c
index d36d608e68..ce9dd38210 100644
--- a/asn1/tcap/packet-tcap-template.c
+++ b/asn1/tcap/packet-tcap-template.c
@@ -183,7 +183,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:
@@ -200,7 +200,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);