summaryrefslogtreecommitdiff
path: root/plugins/ethercat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ethercat')
-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 529fbffea0..ae9c0328d1 100644
--- a/plugins/ethercat/packet-ethercat-datagram.c
+++ b/plugins/ethercat/packet-ethercat-datagram.c
@@ -1703,7 +1703,7 @@ void proto_register_ecat(void)
proto_register_subtree_array(ett, array_length(ett));
/* Sub dissector code */
- register_heur_dissector_list("ecat.data", &heur_subdissector_list);
+ heur_subdissector_list = register_heur_dissector_list("ecat.data");
}
/* The registration hand-off routing */