aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-kismet.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-kismet.c')
-rw-r--r--epan/dissectors/packet-kismet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-kismet.c b/epan/dissectors/packet-kismet.c
index 5978d75c3c..57da5d5ff7 100644
--- a/epan/dissectors/packet-kismet.c
+++ b/epan/dissectors/packet-kismet.c
@@ -164,7 +164,7 @@ dissect_kismet(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void * da
tokenlen = get_token_len(line, line + linelen, &next_token);
if (tokenlen != 0) {
guint8 *reqresp;
- reqresp = tvb_get_string(wmem_packet_scope(), tvb, offset, tokenlen);
+ reqresp = tvb_get_string_enc(wmem_packet_scope(), tvb, offset, tokenlen, ENC_ASCII);
if (is_request) {
/*
* No request dissection