aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/t38
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-12-08 21:06:20 -0500
committerMichael Mann <mmann78@netscape.net>2015-12-09 03:12:23 +0000
commita391a70b3b05c3a3c95bcb9020b37adb6c0af010 (patch)
tree5ecb0fd83c3dc0216c96bb429188296302edcdb7 /asn1/t38
parent1a1893ad54a402bda3b77262ecaf68cfe9831368 (diff)
"new" dissector API -> dissector API for ASN.1 dissectors.
Change-Id: I7b794cba2feda2cae40411e2b1cb9fb091d08220 Reviewed-on: https://code.wireshark.org/review/12480 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'asn1/t38')
-rw-r--r--asn1/t38/packet-t38-template.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/t38/packet-t38-template.c b/asn1/t38/packet-t38-template.c
index a28ea3c512..426fa14da5 100644
--- a/asn1/t38/packet-t38-template.c
+++ b/asn1/t38/packet-t38-template.c
@@ -722,7 +722,7 @@ proto_register_t38(void)
proto_register_subtree_array(ett, array_length(ett));
expert_t38 = expert_register_protocol(proto_t38);
expert_register_field_array(expert_t38, ei, array_length(ei));
- new_register_dissector("t38_udp", dissect_t38_udp, proto_t38);
+ register_dissector("t38_udp", dissect_t38_udp, proto_t38);
/* Init reassemble tables for HDLC */
register_init_routine(t38_defragment_init);
@@ -778,9 +778,9 @@ proto_reg_handoff_t38(void)
static guint udp_port;
if (!t38_prefs_initialized) {
- t38_udp_handle=new_create_dissector_handle(dissect_t38_udp, proto_t38);
- t38_tcp_handle=new_create_dissector_handle(dissect_t38_tcp, proto_t38);
- t38_tcp_pdu_handle=new_create_dissector_handle(dissect_t38_tcp_pdu, proto_t38);
+ t38_udp_handle=create_dissector_handle(dissect_t38_udp, proto_t38);
+ t38_tcp_handle=create_dissector_handle(dissect_t38_tcp, proto_t38);
+ t38_tcp_pdu_handle=create_dissector_handle(dissect_t38_tcp_pdu, proto_t38);
rtp_handle = find_dissector("rtp");
t30_hdlc_handle = find_dissector("t30.hdlc");
data_handle = find_dissector("data");