diff options
author | Evan Huus <eapache@gmail.com> | 2021-10-03 16:19:56 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2021-10-04 17:10:17 +0000 |
commit | e578c6caee4ae6cccf24849adf95b4273d66ba11 (patch) | |
tree | a50d6d8677caa701cd5fb9427854018a6e753e11 /epan/dissectors/packet-lacp.c | |
parent | eb9ae2ffd5c8fbf500ae074eae05a0bd2bc4f951 (diff) |
to_str: pull scope arg up into tvb_ether_to_str
There are a bunch of near-identical macros here, but I'm gonna change
one at a time or else the builder times out at the number of files
changed in one merge.
Diffstat (limited to 'epan/dissectors/packet-lacp.c')
-rw-r--r-- | epan/dissectors/packet-lacp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lacp.c b/epan/dissectors/packet-lacp.c index 66bb3f15f0..2beb93dd1b 100644 --- a/epan/dissectors/packet-lacp.c +++ b/epan/dissectors/packet-lacp.c @@ -249,7 +249,7 @@ dissect_lacp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_ offset += 2; proto_tree_add_item(lacp_tree, hf_lacp_actor_sysid, tvb, offset, 6, ENC_NA); - sysidstr = tvb_ether_to_str(tvb, offset); + sysidstr = tvb_ether_to_str(pinfo->pool, tvb, offset); offset += 6; proto_tree_add_item_ret_uint(lacp_tree, hf_lacp_actor_key, tvb, offset, 2, ENC_BIG_ENDIAN, &key); @@ -292,7 +292,7 @@ dissect_lacp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_ offset += 2; proto_tree_add_item(lacp_tree, hf_lacp_partner_sysid, tvb, offset, 6, ENC_NA); - sysidstr = tvb_ether_to_str(tvb, offset); + sysidstr = tvb_ether_to_str(pinfo->pool, tvb, offset); offset += 6; proto_tree_add_item_ret_uint(lacp_tree, hf_lacp_partner_key, tvb, offset, 2, ENC_BIG_ENDIAN, &key); |