diff --git a/src/or/rephist.c b/src/or/rephist.c index 0cba10ec8a..2f1c976f08 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -294,7 +294,7 @@ void rep_hist_dump_stats(time_t now, int severity) upt, upt+downt, uptime*100.0); if (!strmap_isempty(or_history->link_history_map)) { - strlcpy(buffer, " Good extend attempts: ", sizeof(buffer)); + strlcpy(buffer, " Extend attempts: ", sizeof(buffer)); len = strlen(buffer); for (lhist_it = strmap_iter_init(or_history->link_history_map); !strmap_iter_done(lhist_it); diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 91efa0da24..0d85c621d1 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1020,7 +1020,7 @@ int router_exit_policy_all_routers_reject(uint32_t addr, uint16_t port) { /** Return true iff router does not permit exit streams. */ int router_exit_policy_rejects_all(routerinfo_t *router) { - return router_compare_addr_to_addr_policy(0, 0, router->exit_policy) + return router_compare_addr_to_addr_policy(0, 1, router->exit_policy) == ADDR_POLICY_REJECTED; }