aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-radius.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2021-10-07 13:31:23 -0400
committerEvan Huus <eapache@gmail.com>2021-10-07 13:31:23 -0400
commit0eda51a646eead9a3fe5c26067a3b0a1d34766c8 (patch)
tree978d2ed066a117132db0ffdeab46615bfa57afde /epan/dissectors/packet-radius.c
parent086feb2f098903229a14fd25754cac06c625b647 (diff)
to_str: scope tvb_ip6_to_str
Diffstat (limited to 'epan/dissectors/packet-radius.c')
-rw-r--r--epan/dissectors/packet-radius.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-radius.c b/epan/dissectors/packet-radius.c
index c63fb3e3ce..3164b970bd 100644
--- a/epan/dissectors/packet-radius.c
+++ b/epan/dissectors/packet-radius.c
@@ -1121,7 +1121,7 @@ radius_ipv6addr(radius_attr_info_t *a, proto_tree *tree, packet_info *pinfo _U_,
proto_tree_add_item(tree, a->hf, tvb, offset, len, ENC_NA);
- proto_item_append_text(avp_item, "%s", tvb_ip6_to_str(tvb, offset));
+ proto_item_append_text(avp_item, "%s", tvb_ip6_to_str(pinfo->pool, tvb, offset));
}
void
@@ -1168,7 +1168,7 @@ radius_combo_ip(radius_attr_info_t *a, proto_tree *tree, packet_info *pinfo _U_,
proto_item_append_text(avp_item, "%s", tvb_ip_to_str(pinfo->pool, tvb, offset));
} else if (len == 16) {
proto_tree_add_item(tree, a->hf_alt, tvb, offset, len, ENC_NA);
- proto_item_append_text(avp_item, "%s", tvb_ip6_to_str(tvb, offset));
+ proto_item_append_text(avp_item, "%s", tvb_ip6_to_str(pinfo->pool, tvb, offset));
} else {
proto_item_append_text(avp_item, "[wrong length for both of IPv4 and IPv6 address]");
return;