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-vines.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-vines.c')
-rw-r--r-- | epan/dissectors/packet-vines.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-vines.c b/epan/dissectors/packet-vines.c index 9dc9ccc05a..914e0b3b37 100644 --- a/epan/dissectors/packet-vines.c +++ b/epan/dissectors/packet-vines.c @@ -491,7 +491,7 @@ proto_register_vines_llc(void) /* subdissector code */ vines_llc_dissector_table = register_dissector_table("vines_llc.ptype", - "Vines LLC protocol", FT_UINT8, BASE_HEX, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); + "Vines LLC protocol", proto_vines_llc, FT_UINT8, BASE_HEX, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); } void @@ -695,7 +695,7 @@ proto_register_vines_ip(void) /* subdissector code */ vines_ip_dissector_table = register_dissector_table("vines_ip.protocol", - "Vines protocol", FT_UINT8, BASE_HEX, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); + "Vines protocol", proto_vines_ip, FT_UINT8, BASE_HEX, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); vines_ip_handle = create_dissector_handle(dissect_vines_ip, proto_vines_ip); @@ -995,7 +995,7 @@ proto_register_vines_ipc(void) proto_register_field_array(proto_vines_ipc, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - vines_ipc_heur_subdissector_list = register_heur_dissector_list("vines_ipc"); + vines_ipc_heur_subdissector_list = register_heur_dissector_list("vines_ipc", proto_vines_ipc); } void @@ -1163,7 +1163,7 @@ proto_register_vines_spp(void) proto_register_field_array(proto_vines_spp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - vines_spp_heur_subdissector_list = register_heur_dissector_list("vines_spp"); + vines_spp_heur_subdissector_list = register_heur_dissector_list("vines_spp", proto_vines_spp); } void |