From a6415ece0ad102d30ac5dce59b127bcf1bd6d3f1 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Thu, 19 Dec 2013 15:49:09 +0000 Subject: Rename a couple of to_str functions to have ep_ in the name. This makes it obvious that the returned string is ephemeral, and opens up the original names in the API for versions that take a wmem pool (and thus can work in any scope). svn path=/trunk/; revision=54249 --- epan/dissectors/packet-ieee802a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-ieee802a.c') diff --git a/epan/dissectors/packet-ieee802a.c b/epan/dissectors/packet-ieee802a.c index afc796152d..025a14b176 100644 --- a/epan/dissectors/packet-ieee802a.c +++ b/epan/dissectors/packet-ieee802a.c @@ -108,12 +108,12 @@ dissect_ieee802a(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) pid = tvb_get_ntohs(tvb, 3); col_add_fstr(pinfo->cinfo, COL_INFO, "OUI %s (%s), PID 0x%04X", - bytes_to_str_punct(oui, 3, ':'), + bytes_to_ep_str_punct(oui, 3, ':'), manuf ? manuf : "Unknown", pid); proto_tree_add_uint_format_value(ieee802a_tree, hf_ieee802a_oui, tvb, 0, 3, oui32, "%s (%s)", - bytes_to_str_punct(oui, 3, ':'), manuf ? manuf : "Unknown"); + bytes_to_ep_str_punct(oui, 3, ':'), manuf ? manuf : "Unknown"); /* * Do we have information for this OUI? -- cgit v1.2.3