aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-01-16 07:53:46 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-01-16 07:53:46 +0000
commit9a36b34d03c067e28f0465e4885ece1bca55efe1 (patch)
tree89d7fd567b1568373f1aa9992f23adaf3186a897 /asn1
parent842bc977fcc4626f4a4ce018cdb6f9f736a31734 (diff)
fix registration H.225 over TLS
svn path=/trunk/; revision=20449
Diffstat (limited to 'asn1')
-rw-r--r--asn1/h225/packet-h225-template.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/asn1/h225/packet-h225-template.c b/asn1/h225/packet-h225-template.c
index da2775d38a..cc0f3c077a 100644
--- a/asn1/h225/packet-h225-template.c
+++ b/asn1/h225/packet-h225-template.c
@@ -307,19 +307,18 @@ proto_reg_handoff_h225(void)
static gboolean h225_prefs_initialized = FALSE;
if (h225_prefs_initialized) {
+ ssl_dissector_delete(saved_h225_tls_port, "q931.tpkt", TRUE);
} else {
- h225ras_handle=new_create_dissector_handle(dissect_h225_h225_RasMessage, proto_h225);
- dissector_add("udp.port", UDP_PORT_RAS1, h225ras_handle);
- dissector_add("udp.port", UDP_PORT_RAS2, h225ras_handle);
-
- ssl_dissector_delete(saved_h225_tls_port, "q931", TRUE);
-
h225_prefs_initialized = TRUE;
}
saved_h225_tls_port = h225_tls_port;
ssl_dissector_add(saved_h225_tls_port, "q931.tpkt", TRUE);
+ h225ras_handle=new_create_dissector_handle(dissect_h225_h225_RasMessage, proto_h225);
+ dissector_add("udp.port", UDP_PORT_RAS1, h225ras_handle);
+ dissector_add("udp.port", UDP_PORT_RAS2, h225ras_handle);
+
H323UserInformation_handle=find_dissector("h323ui");
h245_handle = find_dissector("h245");