diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-07-18 21:47:04 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-07-18 21:47:04 +0000 |
commit | 54c129d8dcbf27ec8f5117b46401a414fafe3b2e (patch) | |
tree | 65afe268dae997ef37b63729a68b91bea8aa1e60 /src/or/routerlist.c | |
parent | 87d0948903a8ce0802d4b94f98601ededdebd808 (diff) | |
download | tor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.tar tor-54c129d8dcbf27ec8f5117b46401a414fafe3b2e.tar.gz |
abstract ORPort/SocksPort checks into server_mode(), proxy_mode(), clique_mode(), etc. Dont change underlying comments.
svn:r2054
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 3d648ae8a..282572d8f 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -168,7 +168,7 @@ void router_add_running_routers_to_smartlist(smartlist_t *sl) { for(i=0;i<smartlist_len(routerlist->routers);i++) { router = smartlist_get(routerlist->routers, i); if(router->is_running && - (!options.ORPort || + (!clique_mode() || connection_get_by_identity_digest(router->identity_digest, CONN_TYPE_OR))) smartlist_add(sl, router); |