Explorar o código

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.
Linus Nordberg %!s(int64=13) %!d(string=hai) anos
pai
achega
d6ad00a01f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/or/nodelist.c

+ 2 - 1
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);