mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
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.
This commit is contained in:
parent
b5b8d9e156
commit
ba0c9e5d03
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user