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

[or-cvs] Log the offending policy, not the first policy



Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv10096/src/or

Modified Files:
	routerlist.c 
Log Message:
Log the offending policy, not the first policy

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- routerlist.c	20 Jan 2005 18:39:48 -0000	1.207
+++ routerlist.c	20 Jan 2005 20:42:45 -0000	1.208
@@ -1096,7 +1096,7 @@
               policy, private_networks[i].addr, private_networks[i].mask, &p)) {
         if (warn)
           log_fn(LOG_WARN, "Exit policy %s implicitly accepts %s",
-                 policy?policy->string:"(default)",
+                 p?p->string:"(default)",
                  private_networks[i].network);
         r = 1;
       }