From 2ed9ca813b9caa1797b4d57e3ee15ff9acd8aaf8 Mon Sep 17 00:00:00 2001 From: Lars Roland Date: Thu, 24 Feb 2005 21:31:20 +0000 Subject: By Francisco Alcoba: Support for name resolution and IPv6 in VoIP Call Analysis svn path=/trunk/; revision=13501 --- gtk/voip_calls_dlg.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gtk/voip_calls_dlg.c') diff --git a/gtk/voip_calls_dlg.c b/gtk/voip_calls_dlg.c index 35f490f0b1..1001e156f7 100644 --- a/gtk/voip_calls_dlg.c +++ b/gtk/voip_calls_dlg.c @@ -62,6 +62,11 @@ #include +#include +#include +#include +#include + static const gchar FWD_LABEL_TEXT[] = "Select one call."; /****************************************************************************/ @@ -109,7 +114,7 @@ static void add_to_clist(voip_calls_info_t* strinfo) g_snprintf(field[1], 15, "%i.%2i", strinfo->stop_sec, strinfo->stop_usec/10000); /* xxx display_signed_time(data[0], sizeof(field[0]), strinfo->start_sec, strinfo->start_usec, USECS); */ /* display_signed_time(data[1], sizeof(field[0]), strinfo->stop_sec, strinfo->stop_usec, USECS); */ - g_snprintf(field[2], 30, "%s", ip_to_str((const guint8*)&(strinfo->initial_speaker))); + g_snprintf(field[2], 30, "%s", get_addr_name(&(strinfo->initial_speaker))); g_snprintf(field[3], 50, "%s", strinfo->from_identity); g_snprintf(field[4], 50, "%s", strinfo->to_identity); g_snprintf(field[5], 15, "%s", voip_protocol_name[strinfo->protocol]); -- cgit v1.2.3