aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index a92addb301..90ad6f09a6 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -961,8 +961,8 @@ proto_register_eth(void)
expert_register_field_array(expert_eth, ei, array_length(ei));
/* subdissector code */
- heur_subdissector_list = register_heur_dissector_list("eth");
- eth_trailer_subdissector_list = register_heur_dissector_list("eth.trailer");
+ heur_subdissector_list = register_heur_dissector_list("eth", proto_eth);
+ eth_trailer_subdissector_list = register_heur_dissector_list("eth.trailer", proto_eth);
/* Register configuration preferences */
eth_module = prefs_register_protocol(proto_eth, NULL);