]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup Clarify ambiguous log message in router_add_exit_policy
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 15 Sep 2015 17:59:30 +0000 (03:59 +1000)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 15 Sep 2015 17:59:30 +0000 (03:59 +1000)
src/or/routerparse.c

index 8e56d16724cd48a5d1014a1112e50e8e251b74d5..17c46acfdaa42acdc9259326bc41b36d9224250a 100644 (file)
@@ -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;
   }