summaryrefslogtreecommitdiff
path: root/src/feature/relay/router.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-03-21 04:02:08 +1000
committerteor <teor@torproject.org>2020-03-21 04:02:08 +1000
commit4b914dea025806b47ba91e5e0a713fb266805a27 (patch)
treedbbf8bf69544f09d62301733a52422f8ddc7974a /src/feature/relay/router.h
parent5d53b2317f62a162bfe67d5ab18405992e68f15d (diff)
parent52f61ec83ea8fd2641ca8cae111b2437d8114aa1 (diff)
downloadtor-4b914dea025806b47ba91e5e0a713fb266805a27.tar.gz
tor-4b914dea025806b47ba91e5e0a713fb266805a27.zip
Merge branch 'bug32588_043' into bug32588_master
Diffstat (limited to 'src/feature/relay/router.h')
-rw-r--r--src/feature/relay/router.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/relay/router.h b/src/feature/relay/router.h
index 2e07df2e88..d1b4ce5f8f 100644
--- a/src/feature/relay/router.h
+++ b/src/feature/relay/router.h
@@ -66,6 +66,8 @@ int init_keys_client(void);
uint16_t router_get_active_listener_port_by_type_af(int listener_type,
sa_family_t family);
uint16_t router_get_advertised_or_port(const or_options_t *options);
+void router_get_advertised_ipv6_or_ap(const or_options_t *options,
+ tor_addr_port_t *ipv6_ap_out);
uint16_t router_get_advertised_or_port_by_af(const or_options_t *options,
sa_family_t family);
uint16_t router_get_advertised_dir_port(const or_options_t *options,