diff options
author | Evan Huus <eapache@gmail.com> | 2021-10-07 13:31:23 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2021-10-07 13:31:23 -0400 |
commit | 0eda51a646eead9a3fe5c26067a3b0a1d34766c8 (patch) | |
tree | 978d2ed066a117132db0ffdeab46615bfa57afde /epan/dissectors/packet-xdmcp.c | |
parent | 086feb2f098903229a14fd25754cac06c625b647 (diff) |
to_str: scope tvb_ip6_to_str
Diffstat (limited to 'epan/dissectors/packet-xdmcp.c')
-rw-r--r-- | epan/dissectors/packet-xdmcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-xdmcp.c b/epan/dissectors/packet-xdmcp.c index 3e030aef1c..cf30c95b08 100644 --- a/epan/dissectors/packet-xdmcp.c +++ b/epan/dissectors/packet-xdmcp.c @@ -323,7 +323,7 @@ static int dissect_xdmcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, vo proto_item_append_text(connection_ti, ": %s", tvb_ip_to_str(pinfo->pool, tvb, caddrs_offset)); } else if ((ctype == 6) && (alen == 16)) { proto_tree_add_item(connection_tree, hf_xdmcp_connection_address_ipv6, tvb, caddrs_offset, alen, ENC_NA); - proto_item_append_text(connection_ti, ": %s", tvb_ip6_to_str(tvb, caddrs_offset)); + proto_item_append_text(connection_ti, ": %s", tvb_ip6_to_str(pinfo->pool, tvb, caddrs_offset)); } else { proto_tree_add_item(connection_tree, hf_xdmcp_connection_address_bytes, tvb, caddrs_offset, alen, ENC_NA); } |