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 aa539fc957..9b61f5d1e0 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -945,8 +945,8 @@ proto_register_eth(void)
expert_register_field_array(expert_eth, ei, array_length(ei));
/* subdissector code */
- register_heur_dissector_list("eth", &heur_subdissector_list);
- register_heur_dissector_list("eth.trailer", &eth_trailer_subdissector_list);
+ heur_subdissector_list = register_heur_dissector_list("eth");
+ eth_trailer_subdissector_list = register_heur_dissector_list("eth.trailer");
/* Register configuration preferences */
eth_module = prefs_register_protocol(proto_eth, NULL);