diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2007-05-01 09:45:34 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2007-05-01 09:45:34 +0000 |
commit | a6b92e3e3918d6cd9a4daa7c3938383b559d63ba (patch) | |
tree | 5b98d63a08aa88d6f545049a2a9b6e67a694468b /epan/dissectors/packet-dua.c | |
parent | 45ae5ef0c71c1c28d1cb0f9cd76fc4bfbd2aadee (diff) |
Make these protocols findable by name.
svn path=/trunk/; revision=21633
Diffstat (limited to 'epan/dissectors/packet-dua.c')
-rw-r--r-- | epan/dissectors/packet-dua.c | 3 |
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 |