From b7d1eedeb3cd7f3e0250dbe53828adfa10f4d06c Mon Sep 17 00:00:00 2001 From: Andreas Urke Date: Sat, 5 Dec 2015 16:40:58 +0100 Subject: Fix for bug 11856: Correct parameter-name "opt-offset" to "offset" in macro "tvb_eui64_to_str" in epan/to_str.h such that offset is taken into account when converting eui64 to str. Bug: 11856 Change-Id: Id0b17c4b9186b4c41d6fe338ba7c017e88f63acf Reviewed-on: https://code.wireshark.org/review/12441 Reviewed-by: Pascal Quantin --- epan/to_str.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/to_str.h b/epan/to_str.h index d6ecde434c..52f96cf4da 100644 --- a/epan/to_str.h +++ b/epan/to_str.h @@ -89,7 +89,7 @@ WS_DLL_PUBLIC void address_to_str_buf(const address *addr, gchar *buf, int b #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_fc_to_str(tvb, offset) tvb_address_to_str(wmem_packet_scope(), tvb, AT_FC, offset) -#define tvb_eui64_to_str(tvb, opt_offset) tvb_address_to_str(wmem_packet_scope(), tvb, AT_EUI64, offset) +#define tvb_eui64_to_str(tvb, offset) tvb_address_to_str(wmem_packet_scope(), tvb, AT_EUI64, offset) void ip_to_str_buf(const guint8 *ad, gchar *buf, const int buf_len); -- cgit v1.2.3