aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cops.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-26 11:31:51 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-26 11:31:51 +0000
commitce4869027c1f9d97b56ec835185fae5ae8064397 (patch)
tree4b5f34689b50639cfc69c63f4cd861940c81b6eb /epan/dissectors/packet-cops.c
parent4226a41a64c00ad8510ab1130072f117fc23f8c6 (diff)
Make COPS dissector findable by name
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20564 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-cops.c')
-rw-r--r--epan/dissectors/packet-cops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-cops.c b/epan/dissectors/packet-cops.c
index 29486cfad9..aabc01e112 100644
--- a/epan/dissectors/packet-cops.c
+++ b/epan/dissectors/packet-cops.c
@@ -2527,6 +2527,9 @@ void proto_register_cops(void)
proto_register_field_array(proto_cops, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+ /* Make dissector findable by name */
+ register_dissector("cops", dissect_cops, proto_cops);
+
/* Register our configuration options for cops */
cops_module = prefs_register_protocol(proto_cops, proto_reg_handoff_cops);
prefs_register_uint_preference(cops_module,"tcp.cops_port",