diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-18 21:19:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-18 21:19:19 +0000 |
commit | ec55cf526dc7707cca7588718ba1f99c1fe0a7f0 (patch) | |
tree | 890940702217c6c11753950eefafbaf923bf04dc /src/or/router.c | |
parent | a18770487227bce6e356f169aa86bdef70370c76 (diff) | |
download | tor-ec55cf526dc7707cca7588718ba1f99c1fe0a7f0.tar tor-ec55cf526dc7707cca7588718ba1f99c1fe0a7f0.tar.gz |
r12981@Kushana: nickm | 2007-05-18 14:12:19 -0400
First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG).
svn:r10209
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 3328ce77d..877d4f851 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1341,7 +1341,7 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, "opt fingerprint %s\n" "uptime %ld\n" "bandwidth %d %d %d\n" - "opt extra-info-digest %s\n" + "opt extra-info-digest %s\n%s" "onion-key\n%s" "signing-key\n%s" "%s%s%s", @@ -1357,6 +1357,7 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router, (int) router->bandwidthburst, (int) router->bandwidthcapacity, extra_info_digest, + options->DownloadExtraInfo ? "opt caches-extra-info 1\n" : "", onion_pkey, identity_pkey, family_line, bandwidth_usage, we_are_hibernating() ? "opt hibernating 1\n" : ""); |