From 3df2333155abf8fdfdedc51aca0fe962499f10b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Thu, 29 Oct 2015 03:12:53 +0000 Subject: Remaining ADDRESS macro to address function conversions Change-Id: I8bc9af431e70243b05f4f0ce8c2b8ee451383788 Reviewed-on: https://code.wireshark.org/review/11463 Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/address_types.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'epan/address_types.c') diff --git a/epan/address_types.c b/epan/address_types.c index 5e668128c3..29fca975f1 100644 --- a/epan/address_types.c +++ b/epan/address_types.c @@ -1097,7 +1097,7 @@ tvb_address_to_str(wmem_allocator_t *scope, tvbuff_t *tvb, int type, const gint return NULL; } - TVB_SET_ADDRESS(&addr, type, tvb, offset, at->addr_fixed_len()); + set_address_tvb(&addr, type, at->addr_fixed_len(), tvb, offset); return address_to_str(scope, &addr); } @@ -1106,7 +1106,7 @@ gchar* tvb_address_var_to_str(wmem_allocator_t *scope, tvbuff_t *tvb, address_ty { address addr; - TVB_SET_ADDRESS(&addr, type, tvb, offset, length); + set_address_tvb(&addr, type, length, tvb, offset); return address_to_str(scope, &addr); } @@ -1132,7 +1132,7 @@ tvb_address_with_resolution_to_str(wmem_allocator_t *scope, tvbuff_t *tvb, int t return NULL; } - TVB_SET_ADDRESS(&addr, type, tvb, offset, at->addr_fixed_len()); + set_address_tvb(&addr, type, at->addr_fixed_len(), tvb, offset); return address_with_resolution_to_str(scope, &addr); } -- cgit v1.2.3