summaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-14 22:42:10 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-14 22:43:40 -0500
commit5bea660f8ebf8ec1a78c21ce5e2a6bd5dd681eed (patch)
treea9bd19a3648494f1c9851575c78284fe6ea6efd9 /src/or/connection_or.c
parent2b7bdc295a516df457246fb69f83c8667695c59b (diff)
downloadtor-5bea660f8ebf8ec1a78c21ce5e2a6bd5dd681eed.tar.gz
tor-5bea660f8ebf8ec1a78c21ce5e2a6bd5dd681eed.zip
Use real_addr in send_netinfo
Reported by "troll_un"; bugfix on 0.2.0.10-alpha; fixes bug 4349.
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 27a34d3d15..1fffba7733 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -1410,7 +1410,7 @@ connection_or_send_netinfo(or_connection_t *conn)
/* Their address. */
out = cell.payload + 4;
- len = append_address_to_payload(out, &conn->_base.addr);
+ len = append_address_to_payload(out, &conn->real_addr);
if (len<0)
return -1;
out += len;