aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isdn-sup.c
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 /epan/dissectors/packet-isdn-sup.c
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 'epan/dissectors/packet-isdn-sup.c')
-rw-r--r--epan/dissectors/packet-isdn-sup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-isdn-sup.c b/epan/dissectors/packet-isdn-sup.c
index 539a84c12c..29667520b9 100644
--- a/epan/dissectors/packet-isdn-sup.c
+++ b/epan/dissectors/packet-isdn-sup.c
@@ -3003,8 +3003,8 @@ void proto_reg_handoff_isdn_sup(void) {
q931_handle = find_dissector("q931");
#endif
- isdn_sup_arg_handle = new_create_dissector_handle(dissect_isdn_sup_arg, proto_isdn_sup);
- isdn_sup_res_handle = new_create_dissector_handle(dissect_isdn_sup_res, proto_isdn_sup);
+ isdn_sup_arg_handle = create_dissector_handle(dissect_isdn_sup_arg, proto_isdn_sup);
+ isdn_sup_res_handle = create_dissector_handle(dissect_isdn_sup_res, proto_isdn_sup);
for (i=0; i<(int)array_length(isdn_sup_op_tab); i++) {
dissector_add_uint("q932.ros.etsi.local.arg", isdn_sup_op_tab[i].opcode, isdn_sup_arg_handle);
dissector_add_uint("q932.ros.etsi.local.res", isdn_sup_op_tab[i].opcode, isdn_sup_res_handle);
@@ -3012,12 +3012,12 @@ void proto_reg_handoff_isdn_sup(void) {
for (i=0; i<(int)array_length(isdn_sup_global_op_tab); i++) {
if(isdn_sup_global_op_tab->arg_pdu)
- dissector_add_string("q932.ros.global.arg", isdn_sup_global_op_tab[i].oid, new_create_dissector_handle(isdn_sup_global_op_tab[i].arg_pdu, proto_isdn_sup));
+ dissector_add_string("q932.ros.global.arg", isdn_sup_global_op_tab[i].oid, create_dissector_handle(isdn_sup_global_op_tab[i].arg_pdu, proto_isdn_sup));
if(isdn_sup_global_op_tab->res_pdu)
- dissector_add_string("q932.ros.global.res", isdn_sup_global_op_tab[i].oid, new_create_dissector_handle(isdn_sup_global_op_tab[i].res_pdu, proto_isdn_sup));
+ dissector_add_string("q932.ros.global.res", isdn_sup_global_op_tab[i].oid, create_dissector_handle(isdn_sup_global_op_tab[i].res_pdu, proto_isdn_sup));
}
- isdn_sup_err_handle = new_create_dissector_handle(dissect_isdn_sup_err, proto_isdn_sup);
+ isdn_sup_err_handle = create_dissector_handle(dissect_isdn_sup_err, proto_isdn_sup);
for (i=0; i<(int)array_length(isdn_sup_err_tab); i++) {
dissector_add_uint("q932.ros.etsi.local.err", isdn_sup_err_tab[i].errcode, isdn_sup_err_handle);