diff options
author | Gerald Combs <gerald@wireshark.org> | 2007-11-28 22:29:00 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2007-11-28 22:29:00 +0000 |
commit | af85c74aded3270be42a5ba5bc1d784920c4d5a7 (patch) | |
tree | da45bffd4020948620c797478ae0f834203ebe86 /plugins | |
parent | 437b861f47e1a72edd9a1195dcb7db8efb5f20a8 (diff) |
Tweak the order in which fields are registered, so that they don't
show up as protocols.
svn path=/trunk/; revision=23656
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/wimax/mac_mgmt_msg_decoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/wimax/mac_mgmt_msg_decoder.c b/plugins/wimax/mac_mgmt_msg_decoder.c index 289b3ec776..bd9a761b1d 100644 --- a/plugins/wimax/mac_mgmt_msg_decoder.c +++ b/plugins/wimax/mac_mgmt_msg_decoder.c @@ -118,7 +118,7 @@ static gint proto_mac_mgmt_msg_decoder = -1; static gint ett_mac_mgmt_msg_decoder = -1; /* WIMAX MAC Management message type info */ -char *mgt_msg_abbrv[MAC_MGMT_MSG_TYPE_MAX] = +char *mgt_msg_abbrv[MAC_MGMT_MSG_TYPE_MAX] = { "UCD", /* 0 */ "DCD", @@ -237,8 +237,6 @@ void proto_register_mac_mgmt_msg(void) proto_register_subtree_array(ett, array_length(ett)); } - proto_register_wimax_utility_decoders(); - proto_register_mac_mgmt_msg_dcd(); proto_register_mac_mgmt_msg_ucd(); proto_register_mac_mgmt_msg_dlmap(); @@ -267,6 +265,8 @@ void proto_register_mac_mgmt_msg(void) proto_register_mac_mgmt_msg_rep(); proto_register_mac_mgmt_msg_clk_cmp(); proto_register_mac_mgmt_msg_dsx_rvd(); + + proto_register_wimax_utility_decoders(); } void dissect_mac_mgmt_msg_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) |