aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dua.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-01 09:45:34 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-01 09:45:34 +0000
commit508a1d5739f772b363290d0c267f103ecc95a66b (patch)
tree5b98d63a08aa88d6f545049a2a9b6e67a694468b /epan/dissectors/packet-dua.c
parentfe1709dee4f63d65f614830f052fb751b6973429 (diff)
Make these protocols findable by name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21633 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dua.c')
-rw-r--r--epan/dissectors/packet-dua.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dua.c b/epan/dissectors/packet-dua.c
index 1cdc309773..8a8775781d 100644
--- a/epan/dissectors/packet-dua.c
+++ b/epan/dissectors/packet-dua.c
@@ -753,6 +753,9 @@ proto_register_dua(void)
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_dua, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+
+ /* Allow other dissectors to find this one by name. */
+ register_dissector("dua", dissect_dua, proto_dua);
}
void