diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-19 12:06:34 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-19 19:07:06 +0000 |
commit | c8f7e16b57ed02dd5b4ccba7ec16ac37ae37beb6 (patch) | |
tree | b9f7a5e0451550684ebbf089fefe1b685bbe68e4 /ui/gtk/hostlist_table.c | |
parent | c03f13bda8be7db381eb52a090af5871706dfb20 (diff) |
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/gtk/hostlist_table.c')
-rw-r--r-- | ui/gtk/hostlist_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/hostlist_table.c b/ui/gtk/hostlist_table.c index d5f0645d2c..0ea972f34a 100644 --- a/ui/gtk/hostlist_table.c +++ b/ui/gtk/hostlist_table.c @@ -625,7 +625,7 @@ get_hostlist_table_address(hostlist_table *hl, hostlist_talker_t *host, const ch if (!hl->resolve_names) entries[0] = ep_address_to_str(&host->myaddress); else - entries[0] = (char *)get_addr_name(&host->myaddress); + entries[0] = (char *)ep_address_to_display(&host->myaddress); pt = host->port_type; if(!hl->resolve_names) pt = PT_NONE; |