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/conversations_table.c | |
parent | c03f13bda8be7db381eb52a090af5871706dfb20 (diff) | |
download | wireshark-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/gtk/conversations_table.c')
-rw-r--r-- | ui/gtk/conversations_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/conversations_table.c b/ui/gtk/conversations_table.c index a3b499e620..b29d47c435 100644 --- a/ui/gtk/conversations_table.c +++ b/ui/gtk/conversations_table.c @@ -1970,7 +1970,7 @@ get_ct_table_address(conversations_table *ct, conv_t *conv, const char **entries if(!ct->resolve_names) entries[0] = ep_address_to_str(&conv->src_address); else { - entries[0] = (const char *)get_addr_name(&conv->src_address); + entries[0] = (const char *)ep_address_to_display(&conv->src_address); } pt = conv->port_type; @@ -1993,7 +1993,7 @@ get_ct_table_address(conversations_table *ct, conv_t *conv, const char **entries if(!ct->resolve_names) entries[2]=ep_address_to_str(&conv->dst_address); else { - entries[2]=(const char *)get_addr_name(&conv->dst_address); + entries[2]=(const char *)ep_address_to_display(&conv->dst_address); } switch(pt) { |