summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-10-13 17:06:01 -0400
committerNick Mathewson <nickm@torproject.org>2009-10-15 15:17:13 -0400
commit851a980065e6b2df8d7cb35a22d0675b8918214b (patch)
tree46c56b5bf6fbecfda5b2b6d860593535279f59ea /src/or/directory.c
parenta19981725d167927d32ef2a31c7a7968be3d95b6 (diff)
downloadtor-851a980065e6b2df8d7cb35a22d0675b8918214b.tar.gz
tor-851a980065e6b2df8d7cb35a22d0675b8918214b.zip
Actually remember all the consensus types when we are done generating them.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 0feddcbae4..acee78f030 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1623,7 +1623,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
}
log_info(LD_DIR,"Received consensus directory (size %d) from server "
"'%s:%d'",(int) body_len, conn->_base.address, conn->_base.port);
- if ((r=networkstatus_set_current_consensus(body, 0))<0) {
+ if ((r=networkstatus_set_current_consensus(body, "ns", 0))<0) {
log_fn(r<-1?LOG_WARN:LOG_INFO, LD_DIR,
"Unable to load consensus directory downloaded from "
"server '%s:%d'. I'll try again soon.",