diff options
Diffstat (limited to 'plugins/wimax/msg_rep.c')
-rw-r--r-- | plugins/wimax/msg_rep.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/wimax/msg_rep.c b/plugins/wimax/msg_rep.c index b7b96bb429..e543b4047d 100644 --- a/plugins/wimax/msg_rep.c +++ b/plugins/wimax/msg_rep.c @@ -1576,3 +1576,15 @@ void proto_register_mac_mgmt_msg_rep(void) proto_register_field_array(proto_mac_mgmt_msg_rep_decoder, hf_rep, array_length(hf_rep)); proto_register_subtree_array(ett_rep, array_length(ett_rep)); } + +void +proto_reg_handoff_mac_mgmt_msg_rep(void) +{ + dissector_handle_t rep_handle; + + rep_handle = create_dissector_handle(dissect_mac_mgmt_msg_rep_req_decoder, proto_mac_mgmt_msg_rep_decoder); + dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_REP_REQ, rep_handle); + + rep_handle = create_dissector_handle(dissect_mac_mgmt_msg_rep_rsp_decoder, proto_mac_mgmt_msg_rep_decoder); + dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_REP_RSP, rep_handle); +} |