diff options
author | Lars Roland <Lars.Roland@gmx.net> | 2005-02-24 21:31:20 +0000 |
---|---|---|
committer | Lars Roland <Lars.Roland@gmx.net> | 2005-02-24 21:31:20 +0000 |
commit | 2ed9ca813b9caa1797b4d57e3ee15ff9acd8aaf8 (patch) | |
tree | 053f5c72ae789578ebca126129cf483a40e616a6 /gtk/voip_calls_dlg.c | |
parent | c348bbdf91dde2721603166004e5a11d996d3088 (diff) |
By Francisco Alcoba:
Support for name resolution and IPv6 in VoIP Call Analysis
svn path=/trunk/; revision=13501
Diffstat (limited to 'gtk/voip_calls_dlg.c')
-rw-r--r-- | gtk/voip_calls_dlg.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 <epan/to_str.h> +#include <string.h> +#include <ctype.h> +#include <epan/address.h> +#include <epan/addr_resolv.h> + 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]); |