diff options
author | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-02 23:22:11 +0000 |
---|---|---|
committer | lego <lego@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-03-02 23:22:11 +0000 |
commit | 8ca42476b4910a761a63bba26d503c01220b79fd (patch) | |
tree | d781a37ccffb444d183ed67463702726b2c8b3b5 /gtk/rtp_stream.c | |
parent | eaf380b7b009d31103542bf08bc784fbe9646874 (diff) |
This is the rest of the patch from Francisco Alcoba.
I forgot to check in changes to these files yesterday
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13575 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/rtp_stream.c')
-rw-r--r-- | gtk/rtp_stream.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gtk/rtp_stream.c b/gtk/rtp_stream.c index 5c49636209..feb1f1bbf2 100644 --- a/gtk/rtp_stream.c +++ b/gtk/rtp_stream.c @@ -51,18 +51,9 @@ #endif #include <string.h> +#include <epan/addr_resolv.h> -gchar* address_to_str_w_none(address *addr){ - - if(addr->type==AT_NONE){ - return "NONE"; - } - else{ - return(address_to_str(addr)); - } -} - /****************************************************************************/ /* the one and only global rtpstream_tapinfo_t structure */ static rtpstream_tapinfo_t the_tapinfo_struct = @@ -165,7 +156,7 @@ static void rtp_write_header(rtp_stream_info_t *strinfo, FILE *file) guint16 padding; /* 2 padding bytes */ fprintf(file, "#!rtpplay%s %s/%u\n", RTPFILE_VERSION, - address_to_str_w_none(&(strinfo->dest_addr)), + get_addr_name(&(strinfo->dest_addr)), strinfo->dest_port); start_sec = g_htonl(strinfo->start_sec); |