diff options
author | Roger Dingledine <arma@torproject.org> | 2013-02-09 21:10:07 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2013-02-09 21:10:07 -0500 |
commit | e1ec03f819b83dc229484fc9a97ea0817ce0926a (patch) | |
tree | 543e3c3653ca5795e16f5436be259acfe6481c77 /src/or/nodelist.c | |
parent | ccaefd65a4b8a991e81cb4720343000dbc931eb3 (diff) | |
download | tor-e1ec03f819b83dc229484fc9a97ea0817ce0926a.tar.gz tor-e1ec03f819b83dc229484fc9a97ea0817ce0926a.zip |
use router->addr for log messages and controller events
(rather than router->address)
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r-- | src/or/nodelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c index ee1bc392e3..453ecfe61a 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -753,7 +753,7 @@ void node_get_address_string(const node_t *node, char *buf, size_t len) { if (node->ri) { - strlcpy(buf, node->ri->address, len); + strlcpy(buf, fmt_addr32(node->ri->addr), len); } else if (node->rs) { tor_addr_t addr; tor_addr_from_ipv4h(&addr, node->rs->addr); |