aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bootp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-bootp.c')
-rw-r--r--epan/dissectors/packet-bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c
index 15da0e53f2..31b1fc6c6c 100644
--- a/epan/dissectors/packet-bootp.c
+++ b/epan/dissectors/packet-bootp.c
@@ -1864,7 +1864,7 @@ bootp_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, int voff,
val_to_str_ext_const( enterprise, &sminmpec_values_ext, "Unknown"),
enterprise);
if (optlen > 6) {
- buf = tvb_bytes_to_str(tvb, optoff + 6, optlen - 11);
+ buf = tvb_bytes_to_ep_str(tvb, optoff + 6, optlen - 11);
proto_tree_add_text(v_tree, tvb, optoff + 6,
optlen - 11, "identifier: %s", buf);
}