aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/camel
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-12-17 16:55:45 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-12-17 16:55:45 +0000
commitbc84ba5de6a92de42024d4c25189d57328926c7f (patch)
treef3d2e4543a34ce43292846b7780e1bbb6c5563d0 /asn1/camel
parentcee67cb78b33e24d599c2282e1d11a34976c533c (diff)
Have tcap subdissectors registering using functions provided by tcap and tcap manage ssn registration.
In packet-sccp.c avoid not having a binding. svn path=/trunk/; revision=16834
Diffstat (limited to 'asn1/camel')
-rw-r--r--asn1/camel/packet-camel-template.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/asn1/camel/packet-camel-template.c b/asn1/camel/packet-camel-template.c
index 96fbbd3efd..bee146aef3 100644
--- a/asn1/camel/packet-camel-template.c
+++ b/asn1/camel/packet-camel-template.c
@@ -51,6 +51,7 @@
#include "packet-e164.h"
#include "packet-isup.h"
#include "packet-gsm_map.h"
+#include "packet-tcap.h"
#define PNAME "Camel"
#define PSNAME "CAMEL"
@@ -599,14 +600,14 @@ dissect_camel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
static void range_delete_callback(guint32 ssn)
{
if (ssn) {
- dissector_delete("tcap.itu_ssn", ssn, camel_handle);
+ delete_itu_tcap_subdissector(ssn, camel_handle);
}
}
static void range_add_callback(guint32 ssn)
{
if (ssn) {
- dissector_add("tcap.itu_ssn", ssn, camel_handle);
+ add_itu_tcap_subdissector(ssn, camel_handle);
}
}