aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2021-10-04 13:14:21 -0400
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-04 18:27:26 +0000
commit7b8938474b5012440f8d879d6f8bec2e873c3299 (patch)
tree6c3cc0be11dd983ee57f98c8a4efec48c2c86ef2 /epan/to_str.h
parentef2468662b010982c8bacd55f1269639c77a0603 (diff)
to_str: pull scope arg up into more addr macros
These three all had pretty minimal usage, so do them together.
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index d902e26c1f..b888cdca05 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -88,11 +88,11 @@ WS_DLL_PUBLIC gchar* tvb_address_with_resolution_to_str(wmem_allocator_t *scope,
#define tvb_ip6_to_str(tvb, offset) tvb_address_to_str(wmem_packet_scope(), tvb, AT_IPv6, offset)
-#define tvb_fcwwn_to_str(tvb, offset) tvb_address_to_str(wmem_packet_scope(), tvb, AT_FCWWN, offset)
+#define tvb_fcwwn_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_FCWWN, offset)
-#define tvb_fc_to_str(tvb, offset) tvb_address_to_str(wmem_packet_scope(), tvb, AT_FC, offset)
+#define tvb_fc_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_FC, offset)
-#define tvb_eui64_to_str(tvb, offset) tvb_address_to_str(wmem_packet_scope(), tvb, AT_EUI64, offset)
+#define tvb_eui64_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_EUI64, offset)
/** Turn an address type retrieved from a tvb into a string.
*