aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2021-10-07 10:25:12 -0400
committerEvan Huus <eapache@gmail.com>2021-10-07 10:25:12 -0400
commit07f5472aa7327e23c3d21a81b0352d8a889112cc (patch)
treeee1f530efe60cf9c2a7c3b7cb18b8631f6a17991 /plugins/epan
parent4a2b18a9c04997183b2ff1b6e50843e6970b74f7 (diff)
to_str: scope tvb_ip_to_str
Diffstat (limited to 'plugins/epan')
-rw-r--r--plugins/epan/wimaxasncp/packet-wimaxasncp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/epan/wimaxasncp/packet-wimaxasncp.c b/plugins/epan/wimaxasncp/packet-wimaxasncp.c
index 830bfb1491..e0e1bfc282 100644
--- a/plugins/epan/wimaxasncp/packet-wimaxasncp.c
+++ b/plugins/epan/wimaxasncp/packet-wimaxasncp.c
@@ -1537,7 +1537,7 @@ static void wimaxasncp_dissect_tlv_value(
proto_item_append_text(
item, " - %s (%s)",
- get_hostname(ip), tvb_ip_to_str(tvb, offset));
+ get_hostname(ip), tvb_ip_to_str(pinfo->pool, tvb, offset));
offset += 4;
@@ -1546,7 +1546,7 @@ static void wimaxasncp_dissect_tlv_value(
* --------------------------------------------------------
*/
- s = tvb_ip_to_str(tvb, offset);
+ s = tvb_ip_to_str(pinfo->pool, tvb, offset);
proto_tree_add_item(
ip_address_mask_tree,