aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dmp.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-25 19:25:22 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-25 19:25:22 +0000
commit1992aaf1aaa09d488530b834f262832619a16230 (patch)
tree7c41cc7aca9ff000bd047e6b628ebec0ea31843d /epan/dissectors/packet-dmp.c
parent6c41f6ac32c3763c8fe12d4cc07928dae25d0179 (diff)
Register dissector by name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25179 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dmp.c')
-rw-r--r--epan/dissectors/packet-dmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dmp.c b/epan/dissectors/packet-dmp.c
index 3d8862d76a..78ab7c3853 100644
--- a/epan/dissectors/packet-dmp.c
+++ b/epan/dissectors/packet-dmp.c
@@ -4341,7 +4341,8 @@ void proto_register_dmp (void)
module_t *dmp_module;
proto_dmp = proto_register_protocol (PNAME, PSNAME, PFNAME);
-
+ register_dissector(PFNAME, dissect_dmp, proto_dmp);
+
proto_register_field_array (proto_dmp, hf, array_length (hf));
proto_register_subtree_array (ett, array_length (ett));
register_init_routine (&dmp_init_routine);