From 2a0e48385d01ddb2c8a332faed1445110131d723 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 30 Apr 2020 21:51:45 +1000 Subject: 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. --- src/lib/net/address.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/net/address.h') 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, -- cgit v1.2.3-54-g00ecf