summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-aim.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-12-21 08:02:26 -0500
committerMichael Mann <mmann78@netscape.net>2014-12-26 21:17:10 +0000
commit3d3f97320b90296bdb3649929bcc73a55823dee9 (patch)
tree4b906cf0a1e6e25371fc6eecbef89461d90c0cff /epan/dissectors/packet-aim.c
parentb68fb9b659b0debd7286195f9ad194be998cc3ff (diff)
downloadwireshark-3d3f97320b90296bdb3649929bcc73a55823dee9.tar.gz
Replace ip_to_str with [ep_]address_to_str and tvb_ip_to_str.
Change-Id: I40d0c8253743183aecef252040b7dd6742ae5c71 Reviewed-on: https://code.wireshark.org/review/5934 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-aim.c')
-rw-r--r--epan/dissectors/packet-aim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-aim.c b/epan/dissectors/packet-aim.c
index 294cbfd743..2435254085 100644
--- a/epan/dissectors/packet-aim.c
+++ b/epan/dissectors/packet-aim.c
@@ -1186,8 +1186,7 @@ dissect_aim_tlv_value_uint16 (proto_item *ti, guint16 valueid _U_, tvbuff_t *tvb
int
dissect_aim_tlv_value_ipv4 (proto_item *ti, guint16 valueid _U_, tvbuff_t *tvb, packet_info *pinfo _U_)
{
- guint32 ipv4_address = tvb_get_ipv4(tvb, 0);
- proto_item_set_text(ti, "Value: %s", ip_to_str((guint8 *)&ipv4_address));
+ proto_item_set_text(ti, "Value: %s", tvb_ip_to_str(tvb, 0));
return 4;
}