diff options
Diffstat (limited to 'epan/address_types.c')
-rw-r--r-- | epan/address_types.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |