From e37275bfdee7a0ea4745def144d4a0e5c62e282d Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 13 Mar 2016 07:51:45 -0400 Subject: Associate dissector tables and heuristic subdissector lists with a protocol. This will make it easier to determine protocol dependencies. Some LLC OUI dissector tables didn't have an associated protocol, so they were left without one (-1 used) Change-Id: I6339f16476510ef3f393d6fb5d8946419bfb4b7d Reviewed-on: https://code.wireshark.org/review/14446 Reviewed-by: Michael Mann --- epan/dissectors/packet-eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-eth.c') 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); -- cgit v1.2.3