]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix bug 8846: better log message on IP version confusion
authorNick Mathewson <nickm@torproject.org>
Fri, 17 May 2013 18:50:45 +0000 (14:50 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 17 May 2013 18:50:45 +0000 (14:50 -0400)
changes/bug8846 [new file with mode: 0644]
src/or/connection_edge.c

diff --git a/changes/bug8846 b/changes/bug8846
new file mode 100644 (file)
index 0000000..377cc37
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes:
+    - Give a less useless error message when the user asks for an IPv4
+      address on an IPv6-only port, or vice versa.  Fixes bug 8846; bugfix
+      on 0.2.4.7-alpha.
index 926fcab90cd87b3258d6a24b5733837a24e0917f..4d317d0bd92ea5e9e03fda63dec470edac2c78dc 100644 (file)
@@ -1769,9 +1769,10 @@ connection_ap_get_begincell_flags(entry_connection_t *ap_conn)
   }
 
   if (flags == BEGIN_FLAG_IPV4_NOT_OK) {
-    log_warn(LD_BUG, "Hey; I'm about to ask a node for a connection that I "
+    log_warn(LD_EDGE, "I'm about to ask a node for a connection that I "
              "am telling it to fulfil with neither IPv4 nor IPv6. That's "
-             "probably not going to work.");
+             "not going to work. Did you perhaps ask for an IPv6 address "
+             "on an IPv4Only port, or vice versa?");
   }
 
   return flags;