aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-winsrepl.c
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 /epan/dissectors/packet-winsrepl.c
parent4a2b18a9c04997183b2ff1b6e50843e6970b74f7 (diff)
to_str: scope tvb_ip_to_str
Diffstat (limited to 'epan/dissectors/packet-winsrepl.c')
-rw-r--r--epan/dissectors/packet-winsrepl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-winsrepl.c b/epan/dissectors/packet-winsrepl.c
index 7354fcf6ed..f766a5dcc1 100644
--- a/epan/dissectors/packet-winsrepl.c
+++ b/epan/dissectors/packet-winsrepl.c
@@ -309,7 +309,7 @@ dissect_winsrepl_wins_ip(tvbuff_t *winsrepl_tvb, _U_ packet_info *pinfo,
/* IP */
*addr = tvb_get_ipv4(winsrepl_tvb, winsrepl_offset);
proto_tree_add_ipv4(ip_tree, hf_winsrepl_ip_ip, winsrepl_tvb, winsrepl_offset, 4, *addr);
- proto_item_append_text(ip_item, ": %s", tvb_ip_to_str(winsrepl_tvb, winsrepl_offset));
+ proto_item_append_text(ip_item, ": %s", tvb_ip_to_str(pinfo->pool, winsrepl_tvb, winsrepl_offset));
winsrepl_offset += 4;
return winsrepl_offset;
@@ -442,7 +442,7 @@ dissect_winsrepl_wins_name(tvbuff_t *winsrepl_tvb, packet_info *pinfo,
case WREPL_NAME_TYPE_NORMAL_GROUP:
/* Single address */
proto_tree_add_item(name_tree, hf_winsrepl_ip_ip, winsrepl_tvb, winsrepl_offset, 4, ENC_BIG_ENDIAN);
- proto_item_append_text(name_item, ": %s", tvb_ip_to_str(winsrepl_tvb, winsrepl_offset));
+ proto_item_append_text(name_item, ": %s", tvb_ip_to_str(pinfo->pool, winsrepl_tvb, winsrepl_offset));
winsrepl_offset += 4;
break;