aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-05-11 12:52:21 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-11 12:52:21 -0400
commit0888c2f8f55037b49fead49091013f2cc7de17c5 (patch)
tree7834a9e5a8362e65d66265b81c970271fe28a0d7 /src/or/rephist.h
parente0655708a20069a5f42476a25d62e9d3f8138d8c (diff)
downloadtor-0888c2f8f55037b49fead49091013f2cc7de17c5.tar
tor-0888c2f8f55037b49fead49091013f2cc7de17c5.tar.gz
When no usable exit satisfies a predicted port, stop predicting it.
Fix for bug 3296.
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r--src/or/rephist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h
index 0a3e46ae1..800b957d5 100644
--- a/src/or/rephist.h
+++ b/src/or/rephist.h
@@ -49,6 +49,7 @@ const char *rep_hist_get_router_stability_doc(time_t now);
void rep_hist_note_used_port(time_t now, uint16_t port);
smartlist_t *rep_hist_get_predicted_ports(time_t now);
+void rep_hist_remove_predicted_ports(const smartlist_t *rmv_ports);
void rep_hist_note_used_resolve(time_t now);
void rep_hist_note_used_internal(time_t now, int need_uptime,
int need_capacity);