summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-08 16:58:59 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-08 16:58:59 +0000
commite0b9c893bc4e60cb3e6d8aa65d49a2a4ba2b6260 (patch)
tree5394c35c788ee05f37bfb75fc5feca7c12dbd11a /src/common/container.c
parent46273c908020144d683365b956bfa9950b815296 (diff)
downloadtor-e0b9c893bc4e60cb3e6d8aa65d49a2a4ba2b6260.tar.gz
tor-e0b9c893bc4e60cb3e6d8aa65d49a2a4ba2b6260.zip
r16573@catbus: nickm | 2007-11-08 11:57:16 -0500
Mess with the formula for the Guard flag again. Now it requires that you be in the most familiar 7/8 of nodes, and have above median wfu for that 7/8th. See spec for details. Also, log thresholds better. svn:r12440
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 02e095f359..77d747caad 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -1214,4 +1214,5 @@ IMPLEMENT_ORDER_FUNC(find_nth_int, int)
IMPLEMENT_ORDER_FUNC(find_nth_time, time_t)
IMPLEMENT_ORDER_FUNC(find_nth_double, double)
IMPLEMENT_ORDER_FUNC(find_nth_uint32, uint32_t)
+IMPLEMENT_ORDER_FUNC(find_nth_long, long)