summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ppp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-01-07 10:11:22 -0500
committerMichael Mann <mmann78@netscape.net>2015-01-07 18:16:23 +0000
commit64a7bac641d82aafaa0b65555008df647224ce00 (patch)
treec1616eb10be7ec2938246773c4296f9ebd31c54e /epan/dissectors/packet-ppp.c
parent98d3b1494bdc10d9e9cf3ab59bf5efa2e7c04b68 (diff)
downloadwireshark-64a7bac641d82aafaa0b65555008df647224ce00.tar.gz
tvb_bytes_to_ep_str -> tvb_bytes_to_str
Change-Id: I79c613cbdd8dc939dd4c29ebc477fb6eefd5bfc4 Reviewed-on: https://code.wireshark.org/review/6371 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ppp.c')
-rw-r--r--epan/dissectors/packet-ppp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ppp.c b/epan/dissectors/packet-ppp.c
index f2eca9f157..20c9bfb5fa 100644
--- a/epan/dissectors/packet-ppp.c
+++ b/epan/dissectors/packet-ppp.c
@@ -3829,7 +3829,7 @@ dissect_cp(tvbuff_t *tvb, int proto_id, int proto_subtree_index,
proto_tree_add_bytes_format(fh_tree, hf_ppp_data, tvb, offset,
length, NULL, "Rejected Packet (%d byte%s): %s", length,
plurality(length, "", "s"),
- tvb_bytes_to_ep_str(tvb, offset, length));
+ tvb_bytes_to_str(wmem_packet_scope(), tvb, offset, length));
}
break;
@@ -5294,7 +5294,7 @@ dissect_chap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvb_format_text(tvb, name_offset,
(name_size > 20) ? 20 : name_size),
(name_size > 20) ? "..." : "",
- tvb_bytes_to_ep_str(tvb, value_offset, value_size));
+ tvb_bytes_to_str(wmem_packet_scope(), tvb, value_offset, value_size));
}
}
break;