diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-10 20:57:44 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-11 03:42:52 +0000 |
commit | 210dc9b3019246803f97880802c8faf9a70a4aa8 (patch) | |
tree | 9d10ce640e9effd1421fb03c103967bfc2534942 /plugins/ethercat | |
parent | 1474f49f190e5cee4d049d91d360c3d7780ec3d8 (diff) | |
download | wireshark-210dc9b3019246803f97880802c8faf9a70a4aa8.tar.gz |
new_create_dissector_handle -> create_dissector_handle for plugins.
Change-Id: I0d485b1337c669291ad58b6c096657ce2db353c8
Reviewed-on: https://code.wireshark.org/review/12516
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/ethercat')
-rw-r--r-- | plugins/ethercat/packet-ams.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-ethercat-datagram.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-ioraw.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-nv.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ethercat/packet-ams.c b/plugins/ethercat/packet-ams.c index 73a77117e8..f142d6df8d 100644 --- a/plugins/ethercat/packet-ams.c +++ b/plugins/ethercat/packet-ams.c @@ -1235,7 +1235,7 @@ void proto_reg_handoff_ams(void) dissector_handle_t ams_handle, amstcp_handle; ams_handle = find_dissector("ams"); - amstcp_handle = new_create_dissector_handle( dissect_amstcp, proto_ams ); + amstcp_handle = create_dissector_handle( dissect_amstcp, proto_ams ); dissector_add_uint("tcp.port", 0xbf02, amstcp_handle); dissector_add_uint("ecatf.type", 2, ams_handle); } diff --git a/plugins/ethercat/packet-ethercat-datagram.c b/plugins/ethercat/packet-ethercat-datagram.c index e6e8ed3898..f9c9e1bb11 100644 --- a/plugins/ethercat/packet-ethercat-datagram.c +++ b/plugins/ethercat/packet-ethercat-datagram.c @@ -1712,7 +1712,7 @@ void proto_reg_handoff_ecat(void) /* Register this dissector as a sub dissector to EtherCAT frame based on ether type. */ - ecat_handle = new_create_dissector_handle(dissect_ecat_datagram, proto_ecat_datagram); + ecat_handle = create_dissector_handle(dissect_ecat_datagram, proto_ecat_datagram); dissector_add_uint("ecatf.type", 1 /* EtherCAT type */, ecat_handle); ecat_mailbox_handle = find_dissector("ecat_mailbox"); diff --git a/plugins/ethercat/packet-ioraw.c b/plugins/ethercat/packet-ioraw.c index 5171f802b2..125de9ebbe 100644 --- a/plugins/ethercat/packet-ioraw.c +++ b/plugins/ethercat/packet-ioraw.c @@ -113,7 +113,7 @@ void proto_reg_handoff_ioraw(void) { dissector_handle_t ioraw_handle; - ioraw_handle = new_create_dissector_handle(dissect_ioraw, proto_ioraw); + ioraw_handle = create_dissector_handle(dissect_ioraw, proto_ioraw); dissector_add_uint("ecatf.type", 3, ioraw_handle); } diff --git a/plugins/ethercat/packet-nv.c b/plugins/ethercat/packet-nv.c index 73080405d3..10e2750fe9 100644 --- a/plugins/ethercat/packet-nv.c +++ b/plugins/ethercat/packet-nv.c @@ -235,7 +235,7 @@ void proto_reg_handoff_nv(void) { dissector_handle_t nv_handle; - nv_handle = new_create_dissector_handle(dissect_nv, proto_nv); + nv_handle = create_dissector_handle(dissect_nv, proto_nv); dissector_add_uint("ecatf.type", 4, nv_handle); } |