aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-06 10:13:25 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-06 10:13:25 +0000
commit05e9fb5c44a43341cbdb2aeed074129865401fce (patch)
treeb9c17f13e6957606205028b1bd4ce31e29bf59f6 /src/or
parentf8c14e5dce8b57dd40ad331e86ad9feab9f46c8c (diff)
downloadtor-05e9fb5c44a43341cbdb2aeed074129865401fce.tar.gz
tor-05e9fb5c44a43341cbdb2aeed074129865401fce.zip
and add a comment to that effect
svn:r2159
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 3cbd6ce2b8..2fe85e5416 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -985,7 +985,7 @@ int socks_policy_permits_address(uint32_t addr)
if (options.SocksPolicy && !socks_policy)
parse_socks_policy();
- if(!socks_policy)
+ if(!socks_policy) /* 'no socks policy' means 'accept' */
return 1;
a = router_compare_addr_to_exit_policy(addr, 1, socks_policy);
if (a==-1)