summaryrefslogtreecommitdiff
path: root/src
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
parent6514843026222fe42fa93b01dfb4ed754beeb282 (diff)
downloadtor-c336dedd2148de33e41ee1482e334c96616e2b9b.tar.gz
tor-c336dedd2148de33e41ee1482e334c96616e2b9b.zip
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')
-rw-r--r--src/or/dirserv.c2
-rw-r--r--src/win32/orconfig.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 39263467d3..27092fdb7b 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)) {
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index 55ac183476..7f4e0ca994 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -227,6 +227,6 @@
#define USING_TWOS_COMPLEMENT
/* Version number of package */
-#define VERSION "0.2.0.12-alpha"
+#define VERSION "0.2.0.12-alpha-dev"