diff options
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); } |