summaryrefslogtreecommitdiff
path: root/ui/tap-rtp-common.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-19 12:06:34 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-19 19:07:06 +0000
commitc8f7e16b57ed02dd5b4ccba7ec16ac37ae37beb6 (patch)
treeb9f7a5e0451550684ebbf089fefe1b685bbe68e4 /ui/tap-rtp-common.c
parentc03f13bda8be7db381eb52a090af5871706dfb20 (diff)
downloadwireshark-c8f7e16b57ed02dd5b4ccba7ec16ac37ae37beb6.tar.gz
Some routine name changes.
"get_addr_name()" -> "ep_address_to_display()", to 1) indicate that it returns a string with ephemeral scope and 2) indicate that it maps an address to a "displayable" form - a name if possible, an address string if not. "se_get_addr_name()" -> "get_addr_name()", to indicate that its strings have the same scope as "get_ether_name()", "get_hostname()", and "get_hostname6()". Change-Id: If2ab776395c7a4a163fef031d92b7757b5d23838 Reviewed-on: https://code.wireshark.org/review/1216 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/tap-rtp-common.c')
-rw-r--r--ui/tap-rtp-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tap-rtp-common.c b/ui/tap-rtp-common.c
index b8ae922c91..b998a4fc95 100644
--- a/ui/tap-rtp-common.c
+++ b/ui/tap-rtp-common.c
@@ -131,7 +131,7 @@ 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,
- get_addr_name(&(strinfo->dest_addr)),
+ ep_address_to_display(&(strinfo->dest_addr)),
strinfo->dest_port);
start_sec = g_htonl(strinfo->start_sec);