From 87083a7189b2c52c2fe997338847b421acefe2a7 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 4 Dec 2004 10:18:41 +0000 Subject: [PATCH] plus add a comment re: the previous bug svn:r3076 --- trunk/src/or/routerlist.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trunk/src/or/routerlist.c b/trunk/src/or/routerlist.c index 0d85c621d1..9a364d4898 100644 --- a/trunk/src/or/routerlist.c +++ b/trunk/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 {