mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Avoid guard-related warning when upgrading from 043 to 044.
Fixes #40105.
This commit is contained in:
parent
1397a86bbd
commit
53cd1c9710
3
changes/bug40105
Normal file
3
changes/bug40105
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes (guard selection algorithm):
|
||||
- Avoid needless guard-related warning when upgrading from 0.4.3 to 0.4.4.
|
||||
Fixes bug 40105; bugfix on 0.4.4.1-alpha.
|
@ -3139,9 +3139,9 @@ entry_guard_parse_from_state(const char *s)
|
||||
|
||||
guard->sampled_idx = guard->confirmed_idx;
|
||||
} else {
|
||||
log_warn(LD_GUARD, "The state file seems to be into a status that could"
|
||||
" yield to weird entry node selection: we're missing both a"
|
||||
" sampled_idx and a confirmed_idx.");
|
||||
log_info(LD_GUARD, "The state file seems to be into a status that could"
|
||||
" yield to weird entry node selection: we're missing both a"
|
||||
" sampled_idx and a confirmed_idx.");
|
||||
guard->sampled_idx = invalid_sampled_idx++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user