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-ptpip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-ptpip.c') diff --git a/epan/dissectors/packet-ptpip.c b/epan/dissectors/packet-ptpip.c index 6d8114a6e0..94c5086b39 100644 --- a/epan/dissectors/packet-ptpip.c +++ b/epan/dissectors/packet-ptpip.c @@ -1123,12 +1123,12 @@ void proto_reg_handoff_ptpIP( void ) { dissector_handle_t ptpIP_handle; - /* Use new_create_dissector_handle() to indicate that dissect_ptpIP() + /* Use create_dissector_handle() to indicate that dissect_ptpIP() * returns the number of bytes it dissected (or 0 if it thinks the packet * does not belong to PROTONAME). */ - ptpIP_handle = new_create_dissector_handle(dissect_ptpIP, proto_ptpIP); + ptpIP_handle = create_dissector_handle(dissect_ptpIP, proto_ptpIP); dissector_add_uint("tcp.port", PTPIP_PORT, ptpIP_handle); } -- cgit v1.2.3