aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-11-17 07:00:14 +0000
committerRoger Dingledine <arma@torproject.org>2007-11-17 07:00:14 +0000
commitc336dedd2148de33e41ee1482e334c96616e2b9b (patch)
treea30a2c72fb902e0a5c598ecb0735c328d2386ae6 /src/or
parent6514843026222fe42fa93b01dfb4ed754beeb282 (diff)
downloadtor-c336dedd2148de33e41ee1482e334c96616e2b9b.tar
tor-c336dedd2148de33e41ee1482e334c96616e2b9b.tar.gz
The fix in 0.2.0.12-alpha cleared the "hsdir" flag in v3 network
consensus documents when there are too many relays at a single IP address. Now clear it in v2 network status documents too. svn:r12522
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 39263467d..27092fdb7 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2241,7 +2241,7 @@ generate_v2_networkstatus_opinion(void)
if (digestmap_get(omit_as_sybil, ri->cache_info.identity_digest)) {
rs.is_authority = rs.is_exit = rs.is_stable = rs.is_fast =
rs.is_running = rs.is_named = rs.is_valid = rs.is_v2_dir =
- rs.is_possible_guard = 0;
+ rs.is_hs_dir = rs.is_possible_guard = 0;
}
if (routerstatus_format_entry(outp, endp-outp, &rs, version, 0)) {