aboutsummaryrefslogtreecommitdiffstats
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 a5387f5b2a..437973c7ea 100644
--- a/plugins/ethercat/packet-ethercat-datagram.c
+++ b/plugins/ethercat/packet-ethercat-datagram.c
@@ -1696,7 +1696,7 @@ void proto_reg_handoff_ecat(void)
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");
+ ecat_mailbox_handle = find_dissector_add_dependency("ecat_mailbox", proto_ecat_datagram);
}
/*