aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-12 22:21:20 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-12 22:21:20 +0000
commit7ae3f6a491c96182eab243a53a582532c415cea7 (patch)
treeb93cc080356517b1e3ab8a2c49e94b3ca67321ea /src/or/connection_or.c
parent3abafccd0eadb267401f20ef8c816c6e7f1c693e (diff)
downloadtor-7ae3f6a491c96182eab243a53a582532c415cea7.tar.gz
tor-7ae3f6a491c96182eab243a53a582532c415cea7.zip
r18056@catbus: nickm | 2008-02-12 17:21:10 -0500
Add roger's responses from IRC to some XXX020 items. svn:r13487
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 50f25e3b2c..812a2d4d6e 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -406,6 +406,11 @@ connection_or_init_conn_from_address(or_connection_t *conn,
* its actual addr/port, we won't remember. Careful! */
/* XXXX020 arma: this is stupid, and it's the reason we need real_addr
* to track is_canonical properly. What requires it? */
+ /* XXXX <arma> i believe the reason we did this, originally, is because
+ * we wanted to log what OR a connection was to, and if we logged the
+ * right IP address and port 56244, that wouldn't be as helpful. now we
+ * log the "right" port too, so we know if it's moria1 or moria2.
+ */
conn->_base.addr = r->addr;
conn->_base.port = r->or_port;
}