aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/tcap
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-04-16 14:28:22 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-04-16 14:28:22 +0000
commit10a67c2028385e4feae61d57772a336dfa764458 (patch)
treefa749c6bbb0e63e931386d4c960b11792670a0e3 /asn1/tcap
parent1c4a7f8f3027cf8e105dab453a6728b710492850 (diff)
sccp_ssn_table is not used so remove it. The handoff function does not need to be called after preference changes so stop doing that. Found this on the hunt for bug 2053's cause but it shouldn't (AFAICS) be related.
svn path=/trunk/; revision=25080
Diffstat (limited to 'asn1/tcap')
-rw-r--r--asn1/tcap/packet-tcap-template.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/asn1/tcap/packet-tcap-template.c b/asn1/tcap/packet-tcap-template.c
index 0d44a86d52..972284d076 100644
--- a/asn1/tcap/packet-tcap-template.c
+++ b/asn1/tcap/packet-tcap-template.c
@@ -100,8 +100,6 @@ static proto_tree * tcap_stat_tree=NULL;
static dissector_handle_t data_handle;
static dissector_handle_t ansi_tcap_handle;
-static dissector_table_t sccp_ssn_table;
-
static void raz_tcap_private(struct tcap_private_t * p_tcap_private);
static int dissect_tcap_param(asn1_ctx_t *actx, proto_tree *tree, tvbuff_t *tvb, int offset);
static int dissect_tcap_UserInformation(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, asn1_ctx_t *actx _U_, proto_tree *tree, int hf_index _U_);
@@ -257,15 +255,8 @@ void
proto_reg_handoff_tcap(void)
{
- static gboolean prefs_initialized = FALSE;
-
- if (! prefs_initialized) {
- sccp_ssn_table = find_dissector_table("sccp.ssn");
- prefs_initialized = TRUE;
- }
-
data_handle = find_dissector("data");
- ansi_tcap_handle = find_dissector("ansi_tcap");
+ ansi_tcap_handle = find_dissector("ansi_tcap");
#include "packet-tcap-dis-tab.c"
}
@@ -357,7 +348,7 @@ proto_register_tcap(void)
proto_register_field_array(proto_tcap, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
- tcap_module = prefs_register_protocol(proto_tcap, proto_reg_handoff_tcap);
+ tcap_module = prefs_register_protocol(proto_tcap, NULL);
#if 0
prefs_register_enum_preference(tcap_module, "standard", "ITU TCAP standard",