From bea0a31c1c859a563f065d8b868570560abc5135 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 22 Nov 2010 12:30:33 -0500 Subject: Treat routers whose IPs have changed as having been down for MTBF/routerinfo calculation purposes. --- src/or/rephist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/rephist.h') diff --git a/src/or/rephist.h b/src/or/rephist.h index 8f5a34dacf..1ddbac4dad 100644 --- a/src/or/rephist.h +++ b/src/or/rephist.h @@ -33,7 +33,8 @@ void rep_hist_update_state(or_state_t *state); int rep_hist_load_state(or_state_t *state, char **err); void rep_history_clean(time_t before); -void rep_hist_note_router_reachable(const char *id, time_t when); +void rep_hist_note_router_reachable(const char *id, const tor_addr_t *at_addr, + time_t when); void rep_hist_note_router_unreachable(const char *id, time_t when); int rep_hist_record_mtbf_data(time_t now, int missing_means_down); int rep_hist_load_mtbf_data(time_t now); -- cgit v1.2.3-54-g00ecf