diff options
Diffstat (limited to 'epan/dissectors/packet-h450.c')
-rw-r--r-- | epan/dissectors/packet-h450.c | 8 |
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); } |