[or-cvs] make it less noisy to consider exit policies

Roger Dingledine arma at seul.org
Sat Mar 27 00:13:29 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	routerlist.c 
Log Message:
make it less noisy to consider exit policies


Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerlist.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- routerlist.c	14 Mar 2004 22:47:11 -0000	1.39
+++ routerlist.c	27 Mar 2004 00:13:27 -0000	1.40
@@ -472,7 +472,7 @@
   struct exit_policy_t *tmpe;
 
   for(tmpe=policy; tmpe; tmpe=tmpe->next) {
-    log_fn(LOG_DEBUG,"Considering exit policy %s", tmpe->string);
+//    log_fn(LOG_DEBUG,"Considering exit policy %s", tmpe->string);
     maybe = 0;
     if (!addr) {
       /* Address is unknown. */
@@ -506,7 +506,7 @@
     }
     if (match) {
       in.s_addr = htonl(addr);
-      log_fn(LOG_INFO,"Address %s:%d matches exit policy '%s'",
+      log_fn(LOG_DEBUG,"Address %s:%d matches exit policy '%s'",
              inet_ntoa(in), port, tmpe->string);
       if(tmpe->policy_type == EXIT_POLICY_ACCEPT) {
         /* If we already hit a clause that might trigger a 'reject', than we



More information about the tor-commits mailing list