aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2012-08-31 23:02:19 +0200
committerNick Mathewson <nickm@torproject.org>2012-09-04 12:55:38 -0400
commitd6ad00a01f703a79d9ca6d6edd958b4d05279b4e (patch)
treee435b2c4fc93162c00fca43181062bd7f5690ef6 /src/or/nodelist.c
parentc76a332887c2f793fd66bd02accb05a7bb0d9f83 (diff)
downloadtor-d6ad00a01f703a79d9ca6d6edd958b4d05279b4e.tar
tor-d6ad00a01f703a79d9ca6d6edd958b4d05279b4e.tar.gz
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.
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index b005d067c..9d0247f4e 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);