mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Documentation fix for policy_summarize().
Spotted by "epilys"
This commit is contained in:
parent
c69e96680a
commit
0fc2d0edce
@ -1334,9 +1334,9 @@ policy_summary_add_item(smartlist_t *summary, addr_policy_t *p)
|
|||||||
* The summary will either be an "accept" plus a comma-separated list of port
|
* The summary will either be an "accept" plus a comma-separated list of port
|
||||||
* ranges or a "reject" plus port-ranges, depending on which is shorter.
|
* ranges or a "reject" plus port-ranges, depending on which is shorter.
|
||||||
*
|
*
|
||||||
* If no exits are allowed at all then NULL is returned, if no ports
|
* If no exits are allowed at all then "reject 1-65535" is returned. If no
|
||||||
* are blocked instead of "reject " we return "accept 1-65535" (this
|
* ports are blocked instead of "reject " we return "accept 1-65535". (These
|
||||||
* is an exception to the shorter-representation-wins rule).
|
* are an exception to the shorter-representation-wins rule).
|
||||||
*/
|
*/
|
||||||
char *
|
char *
|
||||||
policy_summarize(smartlist_t *policy, sa_family_t family)
|
policy_summarize(smartlist_t *policy, sa_family_t family)
|
||||||
|
Loading…
Reference in New Issue
Block a user