diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-20 20:16:45 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-20 20:16:45 +0000 |
commit | a4f5b99e61b1fc49ea036c5b9ef16f7bde5e8306 (patch) | |
tree | c8e81ec236d94fa560d382e37c6200892edee301 /src/or/router.c | |
parent | 21a72520ce529e0459a29024c706437f7e64c88f (diff) | |
download | tor-a4f5b99e61b1fc49ea036c5b9ef16f7bde5e8306.tar.gz tor-a4f5b99e61b1fc49ea036c5b9ef16f7bde5e8306.zip |
r13023@Kushana: nickm | 2007-05-20 16:16:36 -0400
More bulletproofing on bug 429
svn:r10231
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c index 0e36f98d5f..796a49d8f7 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1031,6 +1031,7 @@ router_rebuild_descriptor(int force) /* Now generate the extrainfo. */ ei = tor_malloc_zero(sizeof(extrainfo_t)); + ei->cache_info.is_extrainfo = 1; strlcpy(ei->nickname, get_options()->Nickname, sizeof(ei->nickname)); ei->cache_info.published_on = ri->cache_info.published_on; memcpy(ei->cache_info.identity_digest, ri->cache_info.identity_digest, |