]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add spaces between the "and" when logging the "Your server has not managed to confirm...
authorNeel Chauhan <neel@neelc.org>
Thu, 26 Aug 2021 20:38:48 +0000 (13:38 -0700)
committerNeel Chauhan <neel@neelc.org>
Thu, 26 Aug 2021 20:40:53 +0000 (13:40 -0700)
changes/bug40453 [new file with mode: 0644]
src/feature/relay/relay_periodic.c

diff --git a/changes/bug40453 b/changes/bug40453
new file mode 100644 (file)
index 0000000..28ed13b
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes (logging, relay):
+    - Add spaces between the "and" when logging the "Your server has
+      not managed to confirm reachability for its" on dual-stack relays
+      Fixes bug 40453; bugfix on 0.4.5.1-alpha. Patch by Neel Chauhan.
index ee94590e0103f8834cf9443aaa707acca742ed23..dd9be4e36fc221752985458832474407d053843a 100644 (file)
@@ -219,7 +219,7 @@ reachability_warnings_callback(time_t now, const or_options_t *options)
           tor_asprintf(&where4, "%s:%d", address4, me->ipv4_orport);
         if (!v6_ok)
           tor_asprintf(&where6, "[%s]:%d", address6, me->ipv6_orport);
-        const char *opt_and = (!v4_ok && !v6_ok) ? "and" : "";
+        const char *opt_and = (!v4_ok && !v6_ok) ? " and " : "";
 
         /* IPv4 reachability test worked but not the IPv6. We will _not_
          * publish the descriptor if our IPv6 was configured. We will if it