aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_ucd.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-15 19:58:31 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-15 19:58:31 +0000
commit782cc6e3c31c2f3d1c4ec9771e7c323995d5c6fa (patch)
tree7016f1b411bc1cfb2d0cd29d1b972b6f9da5a35c /plugins/wimax/msg_ucd.c
parent31abdcb584ed48002b54db6a6661e67a6b1b59e6 (diff)
Convert plugin files proto_tree_add_item() 'encoding' arg for field types FT_STRING, FT_STRINGZ, FT_UINT_STRING as follows:
1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39429
Diffstat (limited to 'plugins/wimax/msg_ucd.c')
-rw-r--r--plugins/wimax/msg_ucd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wimax/msg_ucd.c b/plugins/wimax/msg_ucd.c
index 4426765d2b..abcf93717a 100644
--- a/plugins/wimax/msg_ucd.c
+++ b/plugins/wimax/msg_ucd.c
@@ -553,7 +553,7 @@ void dissect_mac_mgmt_msg_ucd_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t
/* add TLV subtree */
tlv_tree = add_tlv_subtree(&tlv_info, ett_mac_mgmt_msg_ucd_decoder, ucd_tree, hf_ucd_tlv_t_177_normalized_cn_override2, tvb, offset, tlv_len, FALSE);
proto_tree_add_item(tlv_tree, hf_ucd_tlv_t_177_normalized_cn_override2_first_line, tvb, offset + 2, 1, ENC_BIG_ENDIAN);
- proto_tree_add_item(tlv_tree, hf_ucd_tlv_t_177_normalized_cn_override2_list, tvb, offset + 3, 7, FALSE);
+ proto_tree_add_item(tlv_tree, hf_ucd_tlv_t_177_normalized_cn_override2_list, tvb, offset + 3, 7, ENC_ASCII|ENC_NA);
break;
}
case UCD_TLV_T_186_UPPER_BOUND__AAS_PREAMBLE: