aboutsummaryrefslogtreecommitdiff
path: root/src/or/routers.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-05-28 02:03:25 +0000
committerRoger Dingledine <arma@torproject.org>2003-05-28 02:03:25 +0000
commitfa1d446440ed1134d2a9f26e241ce3018d7821f9 (patch)
treea56790258ab17a1594e36cd543bc4f7c0cb60ea7 /src/or/routers.c
parent2d296afc4228c5dc34d6e4c1f09d08cffdb37313 (diff)
downloadtor-fa1d446440ed1134d2a9f26e241ce3018d7821f9.tar.gz
tor-fa1d446440ed1134d2a9f26e241ce3018d7821f9.zip
OPport is gone. So is conn type OP.
svn:r298
Diffstat (limited to 'src/or/routers.c')
-rw-r--r--src/or/routers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routers.c b/src/or/routers.c
index 94e5911dd0..ff14138569 100644
--- a/src/or/routers.c
+++ b/src/or/routers.c
@@ -70,7 +70,7 @@ void router_retry_connections(void) {
router = directory->routers[i];
if(!connection_exact_get_by_addr_port(router->addr,router->or_port)) { /* not in the list */
log_fn(LOG_DEBUG,"connecting to OR %s:%u.",router->address,router->or_port);
- connection_or_connect_as_or(router);
+ connection_or_connect(router);
}
}
}
@@ -119,7 +119,7 @@ int router_is_me(uint32_t addr, uint16_t port)
/* XXXX Should this check the key too? */
struct sockaddr_in me; /* my router identity */
- if(!options.ORPort) {
+ if(!options.OnionRouter) {
/* we're not an OR. This obviously isn't us. */
return 0;
}