diff options
author | Linus Nordberg <linus@nordberg.se> | 2011-11-28 13:51:56 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-30 11:55:46 -0500 |
commit | 39ec781b8fa164dd2b68cec349f2b38d81fa3cbb (patch) | |
tree | 3601cae0bb4294dd1155a2a3856d59c7196cb3ab /src/or/router.h | |
parent | 3b51b326e4fb71b7ec75c5c8ef5a4869f5c4acc1 (diff) | |
download | tor-39ec781b8fa164dd2b68cec349f2b38d81fa3cbb.tar.gz tor-39ec781b8fa164dd2b68cec349f2b38d81fa3cbb.zip |
Make the router_get_*_orport interface consistent with node_*.
Diffstat (limited to 'src/or/router.h')
-rw-r--r-- | src/or/router.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.h b/src/or/router.h index 6095d025e4..d426b25da6 100644 --- a/src/or/router.h +++ b/src/or/router.h @@ -87,10 +87,10 @@ int router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, crypto_pk_env_t *ident_key); void router_get_prim_orport(const routerinfo_t *router, tor_addr_port_t *addr_port_out); -void router_get_alt_orport(const routerinfo_t *router, - tor_addr_port_t *addr_port_out); void router_get_pref_orport(const routerinfo_t *router, tor_addr_port_t *addr_port_out); +void router_get_pref_ipv6_orport(const routerinfo_t *router, + tor_addr_port_t *addr_port_out); int router_ipv6_preferred(const routerinfo_t *router); int extrainfo_dump_to_string(char **s, extrainfo_t *extrainfo, crypto_pk_env_t *ident_key); |