From 443a7ed259f40ba5cfcc7d9c1e0fe5d7fee0d18c Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 8 Dec 2015 22:49:44 -0500 Subject: new_create_dissector_handle -> create_dissector_handle for dissector directory. Some of the ASN.1 dissectors still generate a new_create_dissector_handle from the tool itself, so leave those for now. Change-Id: Ic6e5803b1444d7ac24070949f5fd557909a5641f Reviewed-on: https://code.wireshark.org/review/12484 Petri-Dish: Anders Broman Reviewed-by: Michael Mann --- epan/dissectors/packet-ansi_a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/dissectors/packet-ansi_a.c') diff --git a/epan/dissectors/packet-ansi_a.c b/epan/dissectors/packet-ansi_a.c index af97338649..08d6fb952a 100644 --- a/epan/dissectors/packet-ansi_a.c +++ b/epan/dissectors/packet-ansi_a.c @@ -12917,9 +12917,9 @@ proto_reg_handoff_ansi_a(void) { dissector_handle_t bsmap_handle, sip_dtap_bsmap_handle; - bsmap_handle = new_create_dissector_handle(dissect_bsmap, proto_a_bsmap); - dtap_handle = new_create_dissector_handle(dissect_dtap, proto_a_dtap); - sip_dtap_bsmap_handle = new_create_dissector_handle(dissect_sip_dtap_bsmap, proto_a_dtap); + bsmap_handle = create_dissector_handle(dissect_bsmap, proto_a_bsmap); + dtap_handle = create_dissector_handle(dissect_dtap, proto_a_dtap); + sip_dtap_bsmap_handle = create_dissector_handle(dissect_sip_dtap_bsmap, proto_a_dtap); data_handle = find_dissector("data"); dissector_add_uint("bsap.pdu_type", BSSAP_PDU_TYPE_BSMAP, bsmap_handle); -- cgit v1.2.3