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-epl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/dissectors/packet-epl.c') diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c index 0b096a32c5..2d9391b41c 100644 --- a/epan/dissectors/packet-epl.c +++ b/epan/dissectors/packet-epl.c @@ -4350,10 +4350,10 @@ proto_register_epl(void) proto_epl = proto_register_protocol("Ethernet POWERLINK", "EPL", "epl"); /* subdissector code */ - heur_epl_subdissector_list = register_heur_dissector_list("epl"); - heur_epl_data_subdissector_list = register_heur_dissector_list("epl_data"); + heur_epl_subdissector_list = register_heur_dissector_list("epl", proto_epl); + heur_epl_data_subdissector_list = register_heur_dissector_list("epl_data", proto_epl); epl_asnd_dissector_table = register_dissector_table("epl.asnd", - "Manufacturer specific ASND service", FT_UINT8, BASE_DEC, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); + "Manufacturer specific ASND service", proto_epl, FT_UINT8, BASE_DEC, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); /* Registering protocol to be called by another dissector */ epl_handle = register_dissector("epl", dissect_epl, proto_epl); -- cgit v1.2.3