aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h450.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-h450.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-h450.c')
-rw-r--r--epan/dissectors/packet-h450.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h450.c b/epan/dissectors/packet-h450.c
index de8d7498ab..f21104fbf8 100644
--- a/epan/dissectors/packet-h450.c
+++ b/epan/dissectors/packet-h450.c
@@ -6481,7 +6481,7 @@ void proto_register_h450(void) {
/* Register protocol */
proto_h450 = proto_register_protocol(PNAME, PSNAME, PFNAME);
- new_register_dissector("h4501", dissect_h450_H4501SupplementaryService_PDU, proto_h450);
+ register_dissector("h4501", dissect_h450_H4501SupplementaryService_PDU, proto_h450);
/* Register fields and subtrees */
proto_register_field_array(proto_h450, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
@@ -6510,13 +6510,13 @@ proto_reg_handoff_h450(void)
dissector_handle_t h450_res_handle;
dissector_handle_t h450_err_handle;
- h450_arg_handle = new_create_dissector_handle(dissect_h450_arg, proto_h450);
- h450_res_handle = new_create_dissector_handle(dissect_h450_res, proto_h450);
+ h450_arg_handle = create_dissector_handle(dissect_h450_arg, proto_h450);
+ h450_res_handle = create_dissector_handle(dissect_h450_res, proto_h450);
for (i=0; i<(int)array_length(h450_op_tab); i++) {
dissector_add_uint("h450.ros.local.arg", h450_op_tab[i].opcode, h450_arg_handle);
dissector_add_uint("h450.ros.local.res", h450_op_tab[i].opcode, h450_res_handle);
}
- h450_err_handle = new_create_dissector_handle(dissect_h450_err, proto_h450);
+ h450_err_handle = create_dissector_handle(dissect_h450_err, proto_h450);
for (i=0; i<(int)array_length(h450_err_tab); i++) {
dissector_add_uint("h450.ros.local.err", h450_err_tab[i].errcode, h450_err_handle);
}