浏览代码

Trivial doc fix for exit_policy_is_general_exit_helper

The original comment said what it did if there was at least one /8 that
allowed access to the port, but not what it did otherwise.
Nick Mathewson 16 年之前
父节点
当前提交
ba0c9e5d03
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/policies.c

+ 1 - 1
src/or/policies.c

@@ -866,7 +866,7 @@ policies_set_router_exitpolicy_to_reject_all(routerinfo_t *r)
 }
 
 /** Return 1 if there is at least one /8 subnet in <b>policy</b> that
- * allows exiting to <b>port</b>. */
+ * allows exiting to <b>port</b>.  Otherwise, return 0. */
 static int
 exit_policy_is_general_exit_helper(smartlist_t *policy, int port)
 {