Don't complain that "your server has not managed to confirm that its

ports are reachable" if we haven't been able to build any circuits
yet. Bug found by spending four hours without a v3 consensus.


svn:r12133
This commit is contained in:
Roger Dingledine
2007-10-23 15:44:13 +00:00
parent 788a4c11bd
commit f43b9638e4
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -1153,6 +1153,7 @@ second_elapsed_callback(int fd, short event, void *args)
if (server_mode(options) &&
!we_are_hibernating() &&
seconds_elapsed > 0 &&
has_completed_circuit &&
stats_n_seconds_working / TIMEOUT_UNTIL_UNREACHABILITY_COMPLAINT !=
(stats_n_seconds_working+seconds_elapsed) /
TIMEOUT_UNTIL_UNREACHABILITY_COMPLAINT) {