aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/routerinfo.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-30 15:38:41 +1000
committerteor <teor@torproject.org>2020-04-30 23:26:31 +1000
commit18174fb82f236dd2c8c841f61cfe3d53697be2f8 (patch)
tree03dc736aa2cd37c867ed2b01264eddc8e7cf8273 /src/feature/nodelist/routerinfo.h
parent42e765efad79d1615f27614d25b7fa062a78684e (diff)
downloadtor-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.h5
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);