[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Clear the ipv6_preferred flag like the others.
commit d6ad00a01f703a79d9ca6d6edd958b4d05279b4e
Author: Linus Nordberg <linus@xxxxxxxxxxxxxx>
Date: Fri Aug 31 23:02:19 2012 +0200
Clear the ipv6_preferred flag like the others.
I'm not entirely sure that this is meningful but I'm pretty sure it's
not harmful. Seems like the logical thing to do.
---
src/or/nodelist.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index b005d06..9d0247f 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -260,7 +260,8 @@ nodelist_set_consensus(networkstatus_t *ns)
node->is_valid = node->is_running = node->is_hs_dir =
node->is_fast = node->is_stable =
node->is_possible_guard = node->is_exit =
- node->is_bad_exit = node->is_bad_directory = 0;
+ node->is_bad_exit = node->is_bad_directory =
+ node->ipv6_preferred = 0;
}
}
} SMARTLIST_FOREACH_END(node);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits