summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-ethercat-datagram.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ethercat/packet-ethercat-datagram.c')
-rw-r--r--plugins/ethercat/packet-ethercat-datagram.c2
1 files changed, 1 insertions, 1 deletions
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");