diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2008-04-05 05:04:14 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2008-04-05 05:04:14 +0000 |
commit | 50ea8167c11b3795f54b5df9b6ddd8142ccc9f3e (patch) | |
tree | 8167a556acf4953db7ee1c7ce687507f86554493 /plugins/wimax/mac_mgmt_msg_decoder.c | |
parent | 88744abd6fbff2f2647345eaf07383eb1a64b9f8 (diff) |
Make wimax mac mgmt protocol findable by name.
Bug 2409.
svn path=/trunk/; revision=24782
Diffstat (limited to 'plugins/wimax/mac_mgmt_msg_decoder.c')
-rw-r--r-- | plugins/wimax/mac_mgmt_msg_decoder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/wimax/mac_mgmt_msg_decoder.c b/plugins/wimax/mac_mgmt_msg_decoder.c index 602d0e7d7e..76960deb7e 100644 --- a/plugins/wimax/mac_mgmt_msg_decoder.c +++ b/plugins/wimax/mac_mgmt_msg_decoder.c @@ -237,6 +237,10 @@ void proto_register_mac_mgmt_msg(void) proto_register_subtree_array(ett, array_length(ett)); } + /* Register dissector by name */ + register_dissector("wmx_mac_mgmt_msg_decoder", dissect_mac_mgmt_msg_decoder, + proto_mac_mgmt_msg_decoder); + proto_register_mac_mgmt_msg_dcd(); proto_register_mac_mgmt_msg_ucd(); proto_register_mac_mgmt_msg_dlmap(); |