aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-01-20 20:42:45 +0000
committerNick Mathewson <nickm@torproject.org>2005-01-20 20:42:45 +0000
commit8115ca5f99bf943104e2c25d93b4f5197b89d75e (patch)
tree4f0f2379a6187ac62513eb5ae1ca58cd1382aa62
parent8b19e8154afa85afa5ef8d7c6475fe77a3ce5b31 (diff)
downloadtor-8115ca5f99bf943104e2c25d93b4f5197b89d75e.tar.gz
tor-8115ca5f99bf943104e2c25d93b4f5197b89d75e.zip
Log the offending policy, not the first policy
svn:r3394
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index f9c39eca55..af289ebab6 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1096,7 +1096,7 @@ exit_policy_implicitly_allows_local_networks(addr_policy_t *policy,
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;
}