diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-05-17 20:31:01 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-05-17 20:31:01 +0000 |
commit | 50b7ebcf9e5b2c6f9fa1f8be470e34e0789c772f (patch) | |
tree | 29f8b52d6c44c4969f816ffcf52257bd5c02a866 /src/or/directory.c | |
parent | d9bcb23f769b4f9137956eae9e4ccf240b3cb686 (diff) | |
download | tor-50b7ebcf9e5b2c6f9fa1f8be470e34e0789c772f.tar.gz tor-50b7ebcf9e5b2c6f9fa1f8be470e34e0789c772f.zip |
Make directory functions update routerlist, not replace it. Add notion of OR-is-trusted-to-be-a-dirserver. Arma, please review: does this handle being a dirserver right?
svn:r1880
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index aa97c7c419..5d5a1fde58 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -336,7 +336,7 @@ int connection_dir_process_inbuf(connection_t *conn) { connection_mark_for_close(conn); return -1; } - if(router_set_routerlist_from_directory(body, conn->identity_pkey) < 0){ + if(router_load_routerlist_from_directory(body, conn->identity_pkey) < 0){ log_fn(LOG_INFO,"...but parsing failed. Ignoring."); } else { log_fn(LOG_INFO,"updated routers."); |