diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-15 21:26:15 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-15 21:26:15 +0000 |
commit | ab2fc7bd62f2a91dfe003f2a99b7cf223762fec8 (patch) | |
tree | f6979ec9b56600d9a42f47bc23a15063259bfa2f /src/or/router.c | |
parent | 5ed64398759eefd4b7befc4dc355155b3f84a667 (diff) | |
download | tor-ab2fc7bd62f2a91dfe003f2a99b7cf223762fec8.tar.gz tor-ab2fc7bd62f2a91dfe003f2a99b7cf223762fec8.zip |
r11596@Kushana: nickm | 2006-12-15 10:57:12 -0500
Mark some TODO items as done. Also, never include ourself in our family list.
svn:r9131
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c index ffc7b38fa0..0c3ccafe3d 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -882,6 +882,9 @@ router_rebuild_descriptor(int force) } smartlist_add(ri->declared_family, name); name = NULL; + } else if (router_is_me(member)) { + /* Don't list ourself in our own family; that's redundant */ + continue; } else { char *fp = tor_malloc(HEX_DIGEST_LEN+2); fp[0] = '$'; |