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

[tor-commits] [tor/master] fixup Clarify ambiguous log message in router_add_exit_policy



commit fd85f2cd706fe86499962f2364f99daa220186a8
Author: teor (Tim Wilson-Brown) <teor2345@xxxxxxxxx>
Date:   Wed Sep 16 03:59:30 2015 +1000

    fixup Clarify ambiguous log message in router_add_exit_policy
---
 src/or/routerparse.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 8e56d16..17c46ac 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -3785,7 +3785,8 @@ router_add_exit_policy(routerinfo_t *router, directory_token_t *tok)
     /* There's nothing the user can do about other relays' descriptors,
      * so we don't provide usage advice here. */
     log_warn(LD_DIR, "Mismatch between field type and address type in exit "
-             "policy '%s'. Ignoring.", tok->n_args == 1 ? tok->args[0] : "");
+             "policy '%s'. Discarding entire router descriptor.",
+             tok->n_args == 1 ? tok->args[0] : "");
     addr_policy_free(newe);
     return -1;
   }



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