summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-wps.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-wps.c')
-rw-r--r--epan/dissectors/packet-wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wps.c b/epan/dissectors/packet-wps.c
index a5484c1e1d..b48fdf3250 100644
--- a/epan/dissectors/packet-wps.c
+++ b/epan/dissectors/packet-wps.c
@@ -1625,7 +1625,7 @@ dissect_wps_tlvs(proto_tree *eap_tree, tvbuff_t *tvb, int offset,
break;
case FT_STRING:
fmt = ": %s";
- valuep = tvb_get_string(wmem_packet_scope(), tvb, offset+4, tlv_len);
+ valuep = tvb_get_string_enc(wmem_packet_scope(), tvb, offset+4, tlv_len, ENC_ASCII);
break;
default:
/* make compiler happy */