diff options
author | Michael Mann <mmann78@netscape.net> | 2016-03-13 07:51:45 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-03-17 00:05:17 +0000 |
commit | e37275bfdee7a0ea4745def144d4a0e5c62e282d (patch) | |
tree | e556a0170b2a35bd4bf975823de4205f7d30ba09 /epan/dissectors/packet-ositp.c | |
parent | b46fe7e95ae09c062ec066838f05b2c42a3b2726 (diff) |
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 <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ositp.c')
-rw-r--r-- | epan/dissectors/packet-ositp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ositp.c b/epan/dissectors/packet-ositp.c index 72f05db85f..344e26b8c7 100644 --- a/epan/dissectors/packet-ositp.c +++ b/epan/dissectors/packet-ositp.c @@ -2423,14 +2423,14 @@ void proto_register_cotp(void) "settings.", &cotp_decode_atn); /* For handling protocols hijacking the variable part of CR or CC PDUs */ - cotp_cr_heur_subdissector_list = register_heur_dissector_list("cotp_cr"); - cotp_cc_heur_subdissector_list = register_heur_dissector_list("cotp_cc"); + cotp_cr_heur_subdissector_list = register_heur_dissector_list("cotp_cr", proto_cotp); + cotp_cc_heur_subdissector_list = register_heur_dissector_list("cotp_cc", proto_cotp); /* subdissector code in inactive subset */ - cotp_is_heur_subdissector_list = register_heur_dissector_list("cotp_is"); + cotp_is_heur_subdissector_list = register_heur_dissector_list("cotp_is", proto_cotp); /* other COTP/ISO 8473 subdissectors */ - cotp_heur_subdissector_list = register_heur_dissector_list("cotp"); + cotp_heur_subdissector_list = register_heur_dissector_list("cotp", proto_cotp); /* XXX - what about CLTP and proto_cltp? */ register_dissector("ositp", dissect_ositp, proto_cotp); @@ -2458,7 +2458,7 @@ void proto_register_cltp(void) proto_register_field_array(proto_cltp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - cltp_heur_subdissector_list = register_heur_dissector_list("cltp"); + cltp_heur_subdissector_list = register_heur_dissector_list("cltp", proto_cltp); } void |