aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mikey.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2014-06-17 17:30:58 +0200
committerAnders Broman <a.broman58@gmail.com>2014-06-18 14:13:58 +0000
commit971ffd683ea23362bd8009567ff7860371e6e2cc (patch)
tree28c9ada98d2e59b196fc839d39ab2448fd436968 /epan/dissectors/packet-mikey.c
parent421d817d70737ebd459b7027274bf38bb2d9a2ff (diff)
Fixup: tvb_get_string(z) -> tvb_get_string(z)_enc
Change-Id: I63a3704effe3fcab01a193dc39b6a22e9f1cf3fe Reviewed-on: https://code.wireshark.org/review/2376 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mikey.c')
-rw-r--r--epan/dissectors/packet-mikey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mikey.c b/epan/dissectors/packet-mikey.c
index c946854f22..8062e22fe4 100644
--- a/epan/dissectors/packet-mikey.c
+++ b/epan/dissectors/packet-mikey.c
@@ -938,7 +938,7 @@ dissect_payload_id(mikey_t *mikey _U_, tvbuff_t *tvb, packet_info *pinfo _U_, pr
parent = proto_tree_get_parent(tree);
proto_item_append_text(parent, " %s: %s",
val_to_str_const(type, id_type_vals, "Unknown"),
- tvb_get_string(wmem_packet_scope(), tvb, 4, length));
+ tvb_get_string_enc(wmem_packet_scope(), tvb, 4, length, ENC_ASCII));
}
return 4 + length;
@@ -968,7 +968,7 @@ dissect_payload_idr(mikey_t *mikey _U_, tvbuff_t *tvb, packet_info *pinfo _U_, p
parent = proto_tree_get_parent(tree);
proto_item_append_text(parent, " %s: %s",
val_to_str_const(type, id_type_vals, "Unknown"),
- tvb_get_string(wmem_packet_scope(), tvb, 5, length));
+ tvb_get_string_enc(wmem_packet_scope(), tvb, 5, length, ENC_ASCII));
}
return 5 + length;