]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Clear the ipv6_preferred flag like the others.
authorLinus Nordberg <linus@torproject.org>
Fri, 31 Aug 2012 21:02:19 +0000 (23:02 +0200)
committerNick Mathewson <nickm@torproject.org>
Tue, 4 Sep 2012 16:55:38 +0000 (12:55 -0400)
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

index b005d067c8480b5c06fdeb52f577a8e8531ca58d..9d0247f4ea0a1f7d2473f5fe5121c4dd95c11cb8 100644 (file)
@@ -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);