From f5b7e039f39d881fc8f48c2e6004e605ca0e24c1 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 14 Sep 2010 22:19:00 -0400 Subject: Extract the "do these routers have the same addr:orport" logic into a fn --- src/or/routerlist.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/routerlist.h') diff --git a/src/or/routerlist.h b/src/or/routerlist.h index d71a737b88..6ba8678595 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -35,6 +35,7 @@ int router_get_my_share_of_directory_requests(double *v2_share_out, void router_reset_status_download_failures(void); void routerlist_add_family(smartlist_t *sl, routerinfo_t *router); int routers_in_same_family(routerinfo_t *r1, routerinfo_t *r2); +int routers_have_same_or_addr(const routerinfo_t *r1, const routerinfo_t *r2); void add_nickname_list_to_smartlist(smartlist_t *sl, const char *list, int must_be_running); int router_nickname_is_in_list(routerinfo_t *router, const char *list); -- cgit v1.2.3-54-g00ecf