summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-12-04 10:18:41 +0000
committerRoger Dingledine <arma@torproject.org>2004-12-04 10:18:41 +0000
commit02b3229a0480b1a8a27f48879f7895d6019ab183 (patch)
tree3e8c2fdb15f3fc1437c2e4a7f0f864870e357306
parent52676364b9205feea4c3b0c773e3040b86ca7a84 (diff)
downloadtor-02b3229a0480b1a8a27f48879f7895d6019ab183.tar.gz
tor-02b3229a0480b1a8a27f48879f7895d6019ab183.zip
plus add a comment re: the previous bug
svn:r3076
-rw-r--r--src/or/routerlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 0d85c621d1..9a364d4898 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -965,6 +965,10 @@ int router_compare_addr_to_addr_policy(uint32_t addr, uint16_t port,
}
} else if (!port) {
/* The port maybe matches. */
+ /* XXX Nick: it looks port 0 only means something special for resolve
+ * commands, which can currently be handled by any exit node.
+ * Should we treat those specially elsewhere?
+ */
maybe = 1;
}
} else {