summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2020-08-25 15:09:35 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2020-08-25 15:09:57 +0300
commit53cd1c9710a14519443e578959a7a11ef8c23d8f (patch)
tree04d2bb0c933edbaf6c4f339ea1b458a76f999f19 /src
parent1397a86bbda04fbcf3e902282ccb4dd689821ea1 (diff)
downloadtor-53cd1c9710a14519443e578959a7a11ef8c23d8f.tar.gz
tor-53cd1c9710a14519443e578959a7a11ef8c23d8f.zip
Avoid guard-related warning when upgrading from 043 to 044.
Fixes #40105.
Diffstat (limited to 'src')
-rw-r--r--src/feature/client/entrynodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/client/entrynodes.c b/src/feature/client/entrynodes.c
index 223815e7b2..45e484540c 100644
--- a/src/feature/client/entrynodes.c
+++ b/src/feature/client/entrynodes.c
@@ -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++;
}