aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/endpoint_talkers_ip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-24 01:37:34 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-24 01:37:34 +0000
commit5b70103557f5fd7caa7cbec02aad2e9cbf68cd44 (patch)
treea63508f0a117ec0ba1b181ca5d168b08ac492a34 /gtk/endpoint_talkers_ip.c
parent7879c6848fa353160686826c4d604878b4d92643 (diff)
Use "ip_to_str_buf()" to turn a pointer to an IP address to a string.
svn path=/trunk/; revision=8230
Diffstat (limited to 'gtk/endpoint_talkers_ip.c')
-rw-r--r--gtk/endpoint_talkers_ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/endpoint_talkers_ip.c b/gtk/endpoint_talkers_ip.c
index 965b213ccd..dfad7f7761 100644
--- a/gtk/endpoint_talkers_ip.c
+++ b/gtk/endpoint_talkers_ip.c
@@ -1,7 +1,7 @@
/* endpoint_talkers_ip.c
* endpoint_talkers_ip 2003 Ronnie Sahlberg
*
- * $Id: endpoint_talkers_ip.c,v 1.1 2003/08/23 09:09:35 sahlberg Exp $
+ * $Id: endpoint_talkers_ip.c,v 1.2 2003/08/24 01:37:34 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -80,7 +80,7 @@ ipv4_address_to_str(address *addr)
}
strp=str[i];
- sprintf(strp, "%d.%d.%d.%d", addr->data[0], addr->data[1], addr->data[2], addr->data[3]);
+ ip_to_str_buf(addr->data, strp);
return strp;
}