diff options
author | teor <teor@torproject.org> | 2020-04-30 21:51:45 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-30 23:27:13 +1000 |
commit | 2a0e48385d01ddb2c8a332faed1445110131d723 (patch) | |
tree | 662b6a41439f3be21aabc60a157ddc9b790ed552 /src/lib/net/address.h | |
parent | 01d940e71b02fd133eda56e0bc9bee113854af7c (diff) | |
download | tor-2a0e48385d01ddb2c8a332faed1445110131d723.tar.gz tor-2a0e48385d01ddb2c8a332faed1445110131d723.zip |
relay: Launch IPv4 and IPv6 ORPort self-test circuits
When launching relay ORPort reachability self-tests, launch tests to the
IPv4 and IPv6 ORPorts (if available).
Part of 33222.
Diffstat (limited to 'src/lib/net/address.h')
-rw-r--r-- | src/lib/net/address.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/net/address.h b/src/lib/net/address.h index b5754087cc..1cf78beca1 100644 --- a/src/lib/net/address.h +++ b/src/lib/net/address.h @@ -227,6 +227,7 @@ const char *fmt_addr_impl(const tor_addr_t *addr, int decorate); const char *fmt_addrport(const tor_addr_t *addr, uint16_t port); #define fmt_addrport_ap(ap) fmt_addrport(&(ap)->addr, (ap)->port) const char *fmt_addr32(uint32_t addr); +const char *fmt_af_family(sa_family_t family); const char *fmt_addr_family(const tor_addr_t *addr); MOCK_DECL(int,get_interface_address6,(int severity, sa_family_t family, |