bugfix: if you find yourself reachable, then don't ever make any client

requests (so you stop predicting circuits), then hup, then later your
IP changes, you won't think circuits are working so you won't try to
test reachability, so you won't publish.


svn:r6800
This commit is contained in:
Roger Dingledine 2006-07-21 07:55:35 +00:00
parent 4d5fab4f9a
commit 2249180b60

View File

@ -1029,7 +1029,6 @@ do_hup(void)
or_options_t *options = get_options();
log_notice(LD_GENERAL,"Received reload signal (hup). Reloading config.");
has_completed_circuit=0;
if (accounting_is_enabled(options))
accounting_record_bandwidth_usage(time(NULL));