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 /epan/column-utils.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 'epan/column-utils.c')
-rw-r--r-- | epan/column-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/column-utils.c b/epan/column-utils.c index 0bf6883160..7ccc8846b7 100644 --- a/epan/column-utils.c +++ b/epan/column-utils.c @@ -1597,7 +1597,7 @@ col_set_addr(packet_info *pinfo, const int col, const address *addr, const gbool return; } - if (res && (name = se_get_addr_name(addr)) != NULL) + if (res && (name = get_addr_name(addr)) != NULL) pinfo->cinfo->col_data[col] = name; else { pinfo->cinfo->col_data[col] = pinfo->cinfo->col_buf[col]; |