aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tap-sequence-analysis.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-sequence-analysis.c
parentc03f13bda8be7db381eb52a090af5871706dfb20 (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/tap-sequence-analysis.c')
-rw-r--r--ui/tap-sequence-analysis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/tap-sequence-analysis.c b/ui/tap-sequence-analysis.c
index 681fb1d4ea..459637ef5c 100644
--- a/ui/tap-sequence-analysis.c
+++ b/ui/tap-sequence-analysis.c
@@ -469,7 +469,7 @@ sequence_analysis_dump_to_file(const char *pathname, seq_analysis_info_t *sainfo
for (i=0; i<display_nodes; i+=2) {
/* print the node identifiers */
g_string_printf(label_string, "| %s",
- get_addr_name(&(sainfo->nodes[i+first_node])));
+ ep_address_to_display(&(sainfo->nodes[i+first_node])));
enlarge_string(label_string, NODE_CHARS_WIDTH*2, ' ');
fprintf(of, "%s", label_string->str);
g_string_printf(label_string, "| ");
@@ -486,7 +486,7 @@ sequence_analysis_dump_to_file(const char *pathname, seq_analysis_info_t *sainfo
for (i=1; i<display_nodes; i+=2) {
/* print the node identifiers */
g_string_printf(label_string, "| %s",
- get_addr_name(&(sainfo->nodes[i+first_node])));
+ ep_address_to_display(&(sainfo->nodes[i+first_node])));
if (label_string->len < NODE_CHARS_WIDTH)
{
enlarge_string(label_string, NODE_CHARS_WIDTH, ' ');