Explorar o código

and add a comment to that effect

svn:r2159
Roger Dingledine %!s(int64=20) %!d(string=hai) anos
pai
achega
05e9fb5c44
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/connection_edge.c

+ 1 - 1
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)