summaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-18 11:28:54 +1100
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-01-29 07:13:57 +1100
commit268608c0a0605e596d1a884ee35d432c88bac38b (patch)
treea3f17f77b59b7e4d222c76920468e351d1248c19 /src/or/routerlist.h
parent2d33d192fc4dd0da2a2e038dd87b277f8e9b90de (diff)
downloadtor-268608c0a0605e596d1a884ee35d432c88bac38b.tar.gz
tor-268608c0a0605e596d1a884ee35d432c88bac38b.zip
Choose OR Entry Guards using IPv4/IPv6 preferences
Update unit tests.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 339e34ae03..4c828d6572 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -61,7 +61,8 @@ void router_reset_status_download_failures(void);
int routers_have_same_or_addrs(const routerinfo_t *r1, const routerinfo_t *r2);
void router_add_running_nodes_to_smartlist(smartlist_t *sl, int allow_invalid,
int need_uptime, int need_capacity,
- int need_guard, int need_desc);
+ int need_guard, int need_desc,
+ int pref_addr);
const routerinfo_t *routerlist_find_my_routerinfo(void);
uint32_t router_get_advertised_bandwidth(const routerinfo_t *router);