aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address_types.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-10-29 03:12:53 +0000
committerMichael Mann <mmann78@netscape.net>2015-11-03 12:20:34 +0000
commit3df2333155abf8fdfdedc51aca0fe962499f10b5 (patch)
treef241cb1777aaf99492eeb12c8365c96e705cfe4e /epan/address_types.c
parent8571dbb908e13d63a80e6465ea19566162dad9c1 (diff)
Remaining ADDRESS macro to address function conversions
Change-Id: I8bc9af431e70243b05f4f0ce8c2b8ee451383788 Reviewed-on: https://code.wireshark.org/review/11463 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/address_types.c')
-rw-r--r--epan/address_types.c6
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);
}