]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Avoid guard-related warning when upgrading from 043 to 044.
authorGeorge Kadianakis <desnacked@riseup.net>
Tue, 25 Aug 2020 12:09:35 +0000 (15:09 +0300)
committerGeorge Kadianakis <desnacked@riseup.net>
Tue, 25 Aug 2020 12:09:57 +0000 (15:09 +0300)
Fixes #40105.

changes/bug40105 [new file with mode: 0644]
src/feature/client/entrynodes.c

diff --git a/changes/bug40105 b/changes/bug40105
new file mode 100644 (file)
index 0000000..330b6a9
--- /dev/null
@@ -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.
\ No newline at end of file
index 223815e7b2b8206caa35c292504f80e75b166d14..45e484540c7410f455f2bb03092a3d9e7f8f2e81 100644 (file)
@@ -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++;
   }