diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-09-09 23:48:33 +1000 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-09-14 11:12:28 +1000 |
commit | 60312dc08b30243740e85c2a944874014f682579 (patch) | |
tree | b240681a50c1f34e8690d31821871d739bbc20fa /src/common | |
parent | a444b11323799536b4cd7902e29f711b0806293a (diff) | |
download | tor-60312dc08b30243740e85c2a944874014f682579.tar.gz tor-60312dc08b30243740e85c2a944874014f682579.zip |
Update comments about ExitPolicy parsing
Fix incomplete and incorrect comments.
Comment changes only.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/address.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/address.h b/src/common/address.h index cd80615f93..48a34cee31 100644 --- a/src/common/address.h +++ b/src/common/address.h @@ -227,6 +227,9 @@ int tor_addr_parse_PTR_name(tor_addr_t *result, const char *address, int tor_addr_port_lookup(const char *s, tor_addr_t *addr_out, uint16_t *port_out); +/* Does the address * yield an AF_UNSPEC wildcard address (1) and do we + * allow *4 and *6 for IPv4 and IPv6 wildcards, respectively; + * or does the address * yield IPv4 wildcard address (0). */ #define TAPMP_EXTENDED_STAR 1 int tor_addr_parse_mask_ports(const char *s, unsigned flags, tor_addr_t *addr_out, maskbits_t *mask_out, |