summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-05-26 22:02:52 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2009-05-27 19:10:55 +0200
commit02a417d4e0dee629a0026b726d108fda7c9a0884 (patch)
tree667bbce064ec72e39cc8f00e311b612068dec304
parent5f03d6c547629af73dea2cfdaf888bc3a7caab5d (diff)
downloadtor-02a417d4e0dee629a0026b726d108fda7c9a0884.tar.gz
tor-02a417d4e0dee629a0026b726d108fda7c9a0884.zip
Improve documentation for the last fix of bug 932.
-rw-r--r--src/or/geoip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c
index e1477d4eab..aabbe26889 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -389,7 +389,10 @@ _remove_old_client_helper(struct clientmap_entry_t *ent, void *_cutoff)
}
}
-/** Forget about all clients that haven't connected since <b>cutoff</b>. */
+/** Forget about all clients that haven't connected since <b>cutoff</b>.
+ * If <b>cutoff</b> is in the future, clients won't be added to the history
+ * until this time is reached. This is useful to prevent relays that switch
+ * to bridges from reporting unbelievable numbers of clients. */
void
geoip_remove_old_clients(time_t cutoff)
{