diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-02-17 08:29:22 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-02-17 08:29:22 +0000 |
commit | bd14023afd24abef9f74e7cf6e97cd742a0c7b9e (patch) | |
tree | 53499b3eee246be631696267c9bb7a163e494543 /src/or/onion.c | |
parent | d081d1d0611523d71e041f7943e87727616266a5 (diff) | |
download | tor-bd14023afd24abef9f74e7cf6e97cd742a0c7b9e.tar.gz tor-bd14023afd24abef9f74e7cf6e97cd742a0c7b9e.zip |
Propagate yes/no/maybe a little farther forward.
svn:r1096
Diffstat (limited to 'src/or/onion.c')
-rw-r--r-- | src/or/onion.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index af55a9ac73..b5cc3f9546 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -269,12 +269,12 @@ static routerinfo_t *choose_good_exit_server(routerlist_t *dir) continue; /* Skip everything but APs in CIRCUIT_WAIT */ switch (connection_ap_can_use_exit(carray[j], dir->routers[i])) { - case -1: + case ADDR_POLICY_REJECTED: log_fn(LOG_DEBUG,"%s (index %d) would reject this stream.", dir->routers[i]->nickname, i); break; /* would be rejected; try next connection */ - case 0: - case 1: + case ADDR_POLICY_ACCEPTED: + case ADDR_POLICY_UNKNOWN: ++n_supported[i]; log_fn(LOG_DEBUG,"%s is supported. n_supported[%d] now %d.", dir->routers[i]->nickname, i, n_supported[i]); |