diff options
author | teor <teor@torproject.org> | 2020-04-30 15:38:41 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-30 23:26:31 +1000 |
commit | 18174fb82f236dd2c8c841f61cfe3d53697be2f8 (patch) | |
tree | 03dc736aa2cd37c867ed2b01264eddc8e7cf8273 /src/feature/nodelist/routerinfo.h | |
parent | 42e765efad79d1615f27614d25b7fa062a78684e (diff) | |
download | tor-18174fb82f236dd2c8c841f61cfe3d53697be2f8.tar.gz tor-18174fb82f236dd2c8c841f61cfe3d53697be2f8.zip |
relay: Add an address family to self-test launches
Add an address family argument to the functions that launch relay ORPort
self-test circuits.
Part of 33222.
Diffstat (limited to 'src/feature/nodelist/routerinfo.h')
-rw-r--r-- | src/feature/nodelist/routerinfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/feature/nodelist/routerinfo.h b/src/feature/nodelist/routerinfo.h index 604e478999..47601a131f 100644 --- a/src/feature/nodelist/routerinfo.h +++ b/src/feature/nodelist/routerinfo.h @@ -12,8 +12,9 @@ #ifndef TOR_ROUTERINFO_H #define TOR_ROUTERINFO_H -void router_get_prim_orport(const routerinfo_t *router, - tor_addr_port_t *addr_port_out); +void router_get_orport(const routerinfo_t *router, + tor_addr_port_t *addr_port_out, + int family); int router_has_orport(const routerinfo_t *router, const tor_addr_port_t *orport); |