diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-18 00:17:48 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-18 00:17:48 +0000 |
commit | cca6984ab92ee0aa9cc08c719573d9ed8d1d0bf7 (patch) | |
tree | 75d3b0c7b336504eea1138b084d16ac1604609f8 /plugins/wimax/msg_ucd.c | |
parent | 3a64aed966fa79d5f715682cee5f6f42a31a15b9 (diff) | |
download | wireshark-cca6984ab92ee0aa9cc08c719573d9ed8d1d0bf7.tar.gz wireshark-cca6984ab92ee0aa9cc08c719573d9ed8d1d0bf7.tar.bz2 wireshark-cca6984ab92ee0aa9cc08c719573d9ed8d1d0bf7.zip |
Do some more conversions of proto_tree_add_item() 'encoding' arg
(previously missed).
svn path=/trunk/; revision=39450
Diffstat (limited to 'plugins/wimax/msg_ucd.c')
-rw-r--r-- | plugins/wimax/msg_ucd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimax/msg_ucd.c b/plugins/wimax/msg_ucd.c index abcf93717a..a5969f165a 100644 --- a/plugins/wimax/msg_ucd.c +++ b/plugins/wimax/msg_ucd.c @@ -400,14 +400,14 @@ void dissect_mac_mgmt_msg_ucd_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t case UCD_BURST_POWER_BOOST: { sub_tree = add_tlv_subtree(&tlv_info, ett_mac_mgmt_msg_ucd_decoder, tlv_tree, hf_ucd_burst_power_boost, tvb, (offset+tlv_offset), 1, FALSE); - tlv_item2 = proto_tree_add_item(sub_tree, hf_ucd_burst_power_boost, tvb, (offset+tlv_offset), length, FALSE); + tlv_item2 = proto_tree_add_item(sub_tree, hf_ucd_burst_power_boost, tvb, (offset+tlv_offset), length, ENC_BIG_ENDIAN); proto_item_append_text(tlv_item2, " dB"); break; } case UCD_BURST_TCS_ENABLE: { sub_tree = add_tlv_subtree(&tlv_info, ett_mac_mgmt_msg_ucd_decoder, tlv_tree, hf_ucd_burst_tcs_enable, tvb, (offset+tlv_offset), 1, FALSE); - proto_tree_add_item(sub_tree, hf_ucd_burst_tcs_enable, tvb, (offset+tlv_offset), 1, FALSE); + proto_tree_add_item(sub_tree, hf_ucd_burst_tcs_enable, tvb, (offset+tlv_offset), 1, ENC_BIG_ENDIAN); break; } #endif |