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-aarp.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-aarp.c')
-rw-r--r-- | epan/dissectors/packet-aarp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-aarp.c b/epan/dissectors/packet-aarp.c index 37c8c3db33..0206ba5e3e 100644 --- a/epan/dissectors/packet-aarp.c +++ b/epan/dissectors/packet-aarp.c @@ -109,7 +109,7 @@ tvb_aarphrdaddr_to_str(tvbuff_t *tvb, gint offset, int ad_len, guint16 type) if (AARP_HW_IS_ETHER(type, ad_len)) { /* Ethernet address (or Token Ring address, which is the same type of address). */ - return tvb_ether_to_str(tvb, offset); + return tvb_ether_to_str(wmem_packet_scope(), tvb, offset); } return tvb_bytes_to_str(wmem_packet_scope(), tvb, offset, ad_len); } |