diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-10-31 22:18:55 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-14 23:16:24 -0500 |
commit | d276894772cc1ed2cfdcbeb6efd96b1abca3f2dc (patch) | |
tree | 01b2bf1163881ee11d9d5cf9bb392e2ffbece251 /src/or/connection_edge.c | |
parent | 6e27282dab8f4d4999830f0310ea3f8aa75c6b63 (diff) | |
download | tor-d276894772cc1ed2cfdcbeb6efd96b1abca3f2dc.tar.gz tor-d276894772cc1ed2cfdcbeb6efd96b1abca3f2dc.zip |
I think it is correct to decorate these addresses.
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index c14e116706..1dd1dbc4d4 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1344,7 +1344,7 @@ connection_ap_get_original_destination(entry_connection_t *conn, } tor_addr_from_sockaddr(&addr, (struct sockaddr*)&orig_dst, &req->port); - tor_addr_to_str(req->address, &addr, sizeof(req->address), 0); + tor_addr_to_str(req->address, &addr, sizeof(req->address), 1); return 0; #elif defined(TRANS_PF) @@ -1405,7 +1405,7 @@ connection_ap_get_original_destination(entry_connection_t *conn, return -1; } - tor_addr_to_str(req->address, &addr, sizeof(req->address), 0); + tor_addr_to_str(req->address, &addr, sizeof(req->address), 1); req->port = ntohs(pnl.rdport); return 0; |