From: Nick Mathewson Date: Thu, 20 Jan 2005 20:42:45 +0000 (+0000) Subject: Log the offending policy, not the first policy X-Git-Tag: tor-0.1.0.1-rc~427 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8115ca5f99bf943104e2c25d93b4f5197b89d75e;p=thirdparty%2Ftor.git Log the offending policy, not the first policy svn:r3394 --- 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; }