aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-turbocell.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-turbocell.c')
-rw-r--r--epan/dissectors/packet-turbocell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-turbocell.c b/epan/dissectors/packet-turbocell.c
index c9bcb1e346..8fd0947652 100644
--- a/epan/dissectors/packet-turbocell.c
+++ b/epan/dissectors/packet-turbocell.c
@@ -180,7 +180,7 @@ static void dissect_turbocell(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
name_item = proto_tree_add_item(turbocell_tree, hf_turbocell_name, tvb, 0x14, 30, ENC_ASCII|ENC_NA);
network_tree = proto_item_add_subtree(name_item, ett_network);
- str_name=tvb_get_stringz(wmem_packet_scope(), tvb, 0x14, &str_len);
+ str_name=tvb_get_stringz_enc(wmem_packet_scope(), tvb, 0x14, &str_len, ENC_ASCII);
col_append_fstr(pinfo->cinfo, COL_INFO, ", Network=\"%s\"",format_text(str_name, str_len-1));
while(tvb_get_guint8(tvb, 0x34 + 8*i)==0x00 && (tvb_length_remaining(tvb,0x34 + 8*i) > 6) && (i<32)) {