diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-15 19:58:31 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-15 19:58:31 +0000 |
commit | 5d9ab19e0760c44e8078bb8493bf92814b7e3eb2 (patch) | |
tree | 7016f1b411bc1cfb2d0cd29d1b972b6f9da5a35c /plugins | |
parent | b6ca6031a88b1e7325479f2768bb3f577aa5b2b9 (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).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39429 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/docsis/packet-bpkmattr.c | 4 | ||||
-rw-r--r-- | plugins/docsis/packet-tlv.c | 14 | ||||
-rw-r--r-- | plugins/docsis/packet-vendor.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-ams.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-ecatmb.c | 10 | ||||
-rw-r--r-- | plugins/irda/packet-irda.c | 10 | ||||
-rw-r--r-- | plugins/opcua/opcua_transport_layer.c | 12 | ||||
-rw-r--r-- | plugins/unistim/packet-unistim.c | 14 | ||||
-rw-r--r-- | plugins/wimax/msg_ucd.c | 2 |
9 files changed, 35 insertions, 35 deletions
diff --git a/plugins/docsis/packet-bpkmattr.c b/plugins/docsis/packet-bpkmattr.c index d261c90158..52e1acdba1 100644 --- a/plugins/docsis/packet-bpkmattr.c +++ b/plugins/docsis/packet-bpkmattr.c @@ -163,7 +163,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) break; case BPKM_SERIAL_NUM: proto_tree_add_item (tree, hf_docsis_bpkmattr_serial_num, tvb, pos, - length, FALSE); + length, ENC_ASCII|ENC_NA); break; case BPKM_MANUFACTURER_ID: if (length == 3) @@ -194,7 +194,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) break; case BPKM_DISPLAY_STR: proto_tree_add_item (tree, hf_docsis_bpkmattr_display_str, tvb, pos, - length, FALSE); + length, ENC_ASCII|ENC_NA); break; case BPKM_AUTH_KEY: if ((length == 96) || (length == 128)) diff --git a/plugins/docsis/packet-tlv.c b/plugins/docsis/packet-tlv.c index ba0710a917..4a1b17b9e1 100644 --- a/plugins/docsis/packet-tlv.c +++ b/plugins/docsis/packet-tlv.c @@ -680,7 +680,7 @@ dissect_phs_err (tvbuff_t * tvb, proto_tree * tree, int start, break; case PHS_ERR_MSG: proto_tree_add_item (err_tree, hf_docsis_tlv_phs_err_msg, tvb, pos, - length, FALSE); + length, ENC_ASCII|ENC_NA); break; } /* switch */ pos = pos + length; @@ -900,7 +900,7 @@ dissect_sflow_err (tvbuff_t * tvb, proto_tree * tree, int start, break; case SFW_ERR_MSG: proto_tree_add_item (err_tree, hf_docsis_tlv_sflow_err_msg, tvb, - pos, length, FALSE); + pos, length, ENC_ASCII|ENC_NA); break; } /* switch */ pos = pos + length; @@ -1141,7 +1141,7 @@ dissect_sflow (tvbuff_t * tvb, proto_tree * tree, int start, guint16 len, break; case SFW_SERVICE_CLASS_NAME: proto_tree_add_item (sflow_tree, hf_docsis_tlv_sflow_classname, tvb, - pos, length, FALSE); + pos, length, ENC_ASCII|ENC_NA); break; case SFW_ERRORS: dissect_sflow_err (tvb, sflow_tree, pos, length); @@ -1418,7 +1418,7 @@ dissect_clsfr_err (tvbuff_t * tvb, proto_tree * tree, int start, break; case CFR_ERR_MSG: proto_tree_add_item (err_tree, hf_docsis_tlv_clsfr_err_msg, tvb, - pos, length, FALSE); + pos, length, ENC_ASCII|ENC_NA); break; } /* switch */ pos = pos + length; @@ -2360,7 +2360,7 @@ dissect_snmpv3_kickstart(tvbuff_t * tvb, proto_tree *tree, int start, guint16 le case SNMPV3_SEC_NAME: proto_tree_add_item (snmpv3_tree, hf_docsis_tlv_snmpv3_kick_name, tvb, - pos, length, FALSE); + pos, length, ENC_ASCII|ENC_NA); break; case SNMPV3_MGR_PUB_NUM: proto_tree_add_item (snmpv3_tree, @@ -2604,7 +2604,7 @@ dissect_tcc_err(tvbuff_t * tvb, proto_tree *tree, int start, guint16 len) case TCC_ERR_MSG: proto_tree_add_item (tccerr_tree, hf_docsis_tcc_err_msg, tvb, - pos, length, FALSE); + pos, length, ENC_ASCII|ENC_NA); break; } /* switch */ pos = pos + length; @@ -3976,7 +3976,7 @@ dissect_tlv (tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree) break; case TLV_SW_UPG_FILE: proto_tree_add_item (tlv_tree, hf_docsis_tlv_sw_file, tvb, pos, - length, FALSE); + length, ENC_ASCII|ENC_NA); break; case TLV_SNMP_WRITE_CTRL: proto_tree_add_item (tlv_tree, hf_docsis_tlv_snmp_access, tvb, diff --git a/plugins/docsis/packet-vendor.c b/plugins/docsis/packet-vendor.c index 635b0dce9b..75ce3969a1 100644 --- a/plugins/docsis/packet-vendor.c +++ b/plugins/docsis/packet-vendor.c @@ -206,7 +206,7 @@ dissect_cisco (tvbuff_t * tvb, proto_tree * tree, gint vsif_len) break; case IOS_CONFIG_FILE: proto_tree_add_item (tree, hf_docsis_vsif_cisco_config_file, tvb, - pos, length, FALSE); + pos, length, ENC_ASCII|ENC_NA); } pos += length; } diff --git a/plugins/ethercat/packet-ams.c b/plugins/ethercat/packet-ams.c index 2d609aa9a1..e5d07ccb57 100644 --- a/plugins/ethercat/packet-ams.c +++ b/plugins/ethercat/packet-ams.c @@ -779,7 +779,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree_add_item(ams_adstree, hf_ams_adsversionbuild, tvb, offset, sizeof(guint16), ENC_LITTLE_ENDIAN); offset+=sizeof(guint16); - proto_tree_add_item(ams_adstree, hf_ams_adsdevicename, tvb, offset, ams_length-offset, TRUE); + proto_tree_add_item(ams_adstree, hf_ams_adsdevicename, tvb, offset, ams_length-offset, ENC_ASCII|ENC_NA); } } } diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c index 19f8bfe0de..278974c484 100644 --- a/plugins/ethercat/packet-ecatmb.c +++ b/plugins/ethercat/packet-ecatmb.c @@ -842,7 +842,7 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoinfomaxsub, tvb, offset++, 1, ENC_LITTLE_ENDIAN); proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoinfoobjcode, tvb, offset++, 1, ENC_LITTLE_ENDIAN); - proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoinfoname, tvb, offset, coe_length-offset, TRUE); + proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoinfoname, tvb, offset, coe_length-offset, ENC_ASCII|ENC_NA); } break; case ECAT_COE_INFO_OPCODE_ENTRY_Q: @@ -896,7 +896,7 @@ static void dissect_ecat_coe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoinfomaxvalue, tvb, offset, objlen, ENC_NA); offset+=objlen; } - proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoinfoname, tvb, offset, coe_length-offset, TRUE); + proto_tree_add_item(ecat_coe_tree, hf_ecat_mailbox_coe_sdoinfoname, tvb, offset, coe_length-offset, ENC_ASCII|ENC_NA); } break; case ECAT_COE_INFO_OPCODE_ERROR_S: @@ -1128,7 +1128,7 @@ static void dissect_ecat_eoe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro proto_tree_add_item(ecat_eoe_init_tree, hf_ecat_mailbox_eoe_init_dnsserver, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset+=4; - proto_tree_add_item(ecat_eoe_init_tree, hf_ecat_mailbox_eoe_init_dnsname, tvb, offset, 32, TRUE); + proto_tree_add_item(ecat_eoe_init_tree, hf_ecat_mailbox_eoe_init_dnsname, tvb, offset, 32, ENC_ASCII|ENC_NA); } else proto_item_append_text(anItem, " - Invalid length!"); @@ -1222,7 +1222,7 @@ static void dissect_ecat_foe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro proto_tree_add_item(ecat_foe_tree, hf_ecat_mailbox_foe_filelength, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset+=4; - proto_tree_add_item(ecat_foe_tree, hf_ecat_mailbox_foe_filename, tvb, offset, foe_length-offset, TRUE); + proto_tree_add_item(ecat_foe_tree, hf_ecat_mailbox_foe_filename, tvb, offset, foe_length-offset, ENC_ASCII|ENC_NA); break; case ECAT_FOE_OPMODE_DATA: @@ -1261,7 +1261,7 @@ static void dissect_ecat_foe(tvbuff_t *tvb, gint offset, packet_info *pinfo, pro proto_tree_add_item(ecat_foe_tree, hf_ecat_mailbox_foe_errcode, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset+=4; - proto_tree_add_item(ecat_foe_tree, hf_ecat_mailbox_foe_errtext, tvb, offset, foe_length-offset, TRUE); + proto_tree_add_item(ecat_foe_tree, hf_ecat_mailbox_foe_errtext, tvb, offset, foe_length-offset, ENC_ASCII|ENC_NA); break; case ECAT_FOE_OPMODE_BUSY: diff --git a/plugins/irda/packet-irda.c b/plugins/irda/packet-irda.c index ac61d5f99c..25f92dc05d 100644 --- a/plugins/irda/packet-irda.c +++ b/plugins/irda/packet-irda.c @@ -626,10 +626,10 @@ static void dissect_iap_request(tvbuff_t* tvb, packet_info* pinfo, proto_tree* r switch (op) { case GET_VALUE_BY_CLASS: - proto_tree_add_item(tree, hf_iap_class_name, tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(tree, hf_iap_class_name, tvb, offset, 1, ENC_ASCII|ENC_BIG_ENDIAN); offset += 1 + clen; - proto_tree_add_item(tree, hf_iap_attr_name, tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(tree, hf_iap_attr_name, tvb, offset, 1, ENC_ASCII|ENC_BIG_ENDIAN); offset += 1 + alen; break; } @@ -838,7 +838,7 @@ static void dissect_iap_result(tvbuff_t* tvb, packet_info* pinfo, proto_tree* ro if (!iap_conv || !iap_conv->pattr_dissector || !iap_conv->pattr_dissector->value_dissector(tvb, offset, pinfo, entry_tree, n, type)) - proto_tree_add_item(entry_tree, hf_iap_string, tvb, offset + 1, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(entry_tree, hf_iap_string, tvb, offset + 1, 1, ENC_ASCII|ENC_BIG_ENDIAN); break; } offset += attr_len; @@ -1618,7 +1618,7 @@ static void dissect_xid(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root, pro col_append_str(pinfo->cinfo, COL_INFO, "\""); if (root) proto_tree_add_item(lmp_tree, hf_lmp_xid_name, tvb, offset, - -1, FALSE); + -1, ENC_ASCII|ENC_NA); } else { @@ -1672,7 +1672,7 @@ static void dissect_log(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root) if (pinfo->pseudo_header->irda.pkttype == IRDA_MISSED_MSG) proto_tree_add_item(tree, hf_log_missed, tvb, 0, 0, FALSE); else - proto_tree_add_item(tree, hf_log_msg, tvb, 0, -1, FALSE); + proto_tree_add_item(tree, hf_log_msg, tvb, 0, -1, ENC_ASCII|ENC_NA); } } diff --git a/plugins/opcua/opcua_transport_layer.c b/plugins/opcua/opcua_transport_layer.c index fb72f6e6f9..d4abdaedcb 100644 --- a/plugins/opcua/opcua_transport_layer.c +++ b/plugins/opcua/opcua_transport_layer.c @@ -128,7 +128,7 @@ void registerTransportLayerTypes(int proto) int parseHello(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) { proto_tree_add_item(tree, hf_opcua_transport_type, tvb, *pOffset, 3, TRUE); *pOffset+=3; - proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, TRUE); *pOffset+=1; + proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, ENC_ASCII|ENC_NA); *pOffset+=1; proto_tree_add_item(tree, hf_opcua_transport_size, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_ver, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_rbs, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; @@ -142,7 +142,7 @@ int parseHello(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) int parseAcknowledge(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) { proto_tree_add_item(tree, hf_opcua_transport_type, tvb, *pOffset, 3, TRUE); *pOffset+=3; - proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, TRUE); *pOffset+=1; + proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, ENC_ASCII|ENC_NA); *pOffset+=1; proto_tree_add_item(tree, hf_opcua_transport_size, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_ver, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_rbs, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; @@ -155,7 +155,7 @@ int parseAcknowledge(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) int parseError(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) { proto_tree_add_item(tree, hf_opcua_transport_type, tvb, *pOffset, 3, TRUE); *pOffset+=3; - proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, TRUE); *pOffset+=1; + proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, ENC_ASCII|ENC_NA); *pOffset+=1; proto_tree_add_item(tree, hf_opcua_transport_size, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_error, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; parseString(tree, tvb, pOffset, hf_opcua_transport_reason); @@ -170,7 +170,7 @@ int parseMessage(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) int ServiceId = 0; proto_tree_add_item(tree, hf_opcua_transport_type, tvb, *pOffset, 3, TRUE); *pOffset+=3; - proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, TRUE); *pOffset+=1; + proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, ENC_ASCII|ENC_NA); *pOffset+=1; proto_tree_add_item(tree, hf_opcua_transport_size, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_scid, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; @@ -202,7 +202,7 @@ int parseOpenSecureChannel(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) int ServiceId = 0; proto_tree_add_item(tree, hf_opcua_transport_type, tvb, *pOffset, 3, TRUE); *pOffset+=3; - proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, TRUE); *pOffset+=1; + proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, ENC_ASCII|ENC_NA); *pOffset+=1; proto_tree_add_item(tree, hf_opcua_transport_size, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_scid, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; parseString(tree, tvb, pOffset, hf_opcua_transport_spu); @@ -227,7 +227,7 @@ int parseOpenSecureChannel(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) int parseCloseSecureChannel(proto_tree *tree, tvbuff_t *tvb, gint *pOffset) { proto_tree_add_item(tree, hf_opcua_transport_type, tvb, *pOffset, 3, TRUE); *pOffset+=3; - proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, TRUE); *pOffset+=1; + proto_tree_add_item(tree, hf_opcua_transport_chunk, tvb, *pOffset, 1, ENC_ASCII|ENC_NA); *pOffset+=1; proto_tree_add_item(tree, hf_opcua_transport_size, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; proto_tree_add_item(tree, hf_opcua_transport_scid, tvb, *pOffset, 4, ENC_LITTLE_ENDIAN); *pOffset+=4; return -1; diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index 84fc0ac6fb..85690455f8 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -365,7 +365,7 @@ dissect_uftp_message(proto_tree *unistim_tree,packet_info *pinfo _U_,tvbuff_t *t offset+=1; /* Get filename */ str_len = tvb_length_remaining(tvb, offset); - proto_tree_add_item(msg_tree,hf_uftp_filename,tvb,offset,str_len,FALSE); + proto_tree_add_item(msg_tree,hf_uftp_filename,tvb,offset,str_len,ENC_ASCII|ENC_NA); offset += str_len; break; @@ -545,7 +545,7 @@ dissect_basic_phone(proto_tree *msg_tree, case 0x02: /*Firmware Version*/ proto_tree_add_item(msg_tree,hf_basic_phone_fw_ver, - tvb,offset,msg_len,FALSE); + tvb,offset,msg_len,ENC_ASCII|ENC_NA); offset+=msg_len; break; case 0x03: @@ -562,7 +562,7 @@ dissect_basic_phone(proto_tree *msg_tree, case 0x08: /*Product Engineering Code*/ proto_tree_add_item(msg_tree,hf_basic_prod_eng_code, - tvb,offset,msg_len,FALSE); + tvb,offset,msg_len,ENC_ASCII|ENC_NA); offset+=msg_len; break; case 0x09: @@ -1077,7 +1077,7 @@ dissect_display_switch(proto_tree *msg_tree, set_ascii_item(msg_tree,tvb,offset,msg_len); offset+=msg_len; proto_tree_add_item(msg_tree,hf_generic_string, - tvb,offset,msg_len,FALSE); + tvb,offset,msg_len,ENC_ASCII|ENC_NA); offset+=msg_len; break; case 0x1b: @@ -1233,7 +1233,7 @@ dissect_display_switch(proto_tree *msg_tree, tvb,offset,1,ENC_BIG_ENDIAN); offset+=1; msg_len-=1; proto_tree_add_item(msg_tree,hf_generic_string, - tvb,offset,msg_len,FALSE); + tvb,offset,msg_len,ENC_ASCII|ENC_NA); offset+=msg_len; if((address_byte&DISPLAY_WRITE_ADDRESS_SOFT_LABEL_FLAG)== DISPLAY_WRITE_ADDRESS_SOFT_LABEL_FLAG){ @@ -1775,10 +1775,10 @@ dissect_network_switch(proto_tree *msg_tree, proto_tree_add_item(msg_tree,hf_generic_data,tvb,offset,1,ENC_NA); offset+=1;msg_len-=1; string_len=tvb_strsize(tvb,offset); - proto_tree_add_item(msg_tree,hf_net_full_pathname,tvb,offset,string_len,ENC_NA); + proto_tree_add_item(msg_tree,hf_net_full_pathname,tvb,offset,string_len,ENC_ASCII|ENC_NA); offset+=string_len;msg_len-=string_len; string_len=tvb_strsize(tvb,offset); - proto_tree_add_item(msg_tree,hf_net_file_identifier,tvb,offset,string_len,ENC_NA); + proto_tree_add_item(msg_tree,hf_net_file_identifier,tvb,offset,string_len,ENC_ASCII|ENC_NA); offset+=string_len;msg_len-=string_len; proto_tree_add_item(msg_tree,hf_net_file_server_port,tvb,offset,2,ENC_BIG_ENDIAN); offset+=2;msg_len-=2; 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: |