[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Downgrade an eventdns warning to PROTOCOL_WARN.



commit f9fddba53900f33218ff7f1623cffbe8753d3228
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Jun 7 13:03:39 2012 -0400

    Downgrade an eventdns warning to PROTOCOL_WARN.
---
 changes/bug5932 |    3 +++
 src/or/dns.c    |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/changes/bug5932 b/changes/bug5932
new file mode 100644
index 0000000..f2ca98e
--- /dev/null
+++ b/changes/bug5932
@@ -0,0 +1,3 @@
+  o Minor bugfixes:
+    - Downgrade "eventdns rejected address" message to LOG_PROTOCOL_WARN.
+      Fixes bug 5932; bugfix on 0.2.2.7-alpha.
diff --git a/src/or/dns.c b/src/or/dns.c
index 77c1a21..02447ec 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1437,7 +1437,7 @@ launch_resolve(edge_connection_t *exitconn)
 
   r = 0;
   if (!req) {
-    log_warn(LD_EXIT, "eventdns rejected address %s.",
+    log_fn(LOG_PROTOCOL_WARN, LD_EXIT, "eventdns rejected address %s.",
              escaped_safe_str(addr));
     r = -1;
     tor_free(addr); /* There is no evdns request in progress; stop



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits