aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-10 20:00:31 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-10 20:00:31 +0000
commitf89b0ea09f947d5ab2b2093b1153ddd8bdb4791f (patch)
tree3f2a5e29ccf6be366a0fd8cad67e5b53ba4e9964 /src/or/routerlist.c
parentfe6c1b01929d5fdd0f0735616954e2fb30e8229d (diff)
downloadtor-f89b0ea09f947d5ab2b2093b1153ddd8bdb4791f.tar
tor-f89b0ea09f947d5ab2b2093b1153ddd8bdb4791f.tar.gz
be willing to add our own routerinfo into the routerlist.
this means authorities will include themselves in their directories and network-statuses. svn:r6369
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index f1f2d6e7e..3d5f1a694 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1550,13 +1550,6 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg,
rs->need_to_mirror = 0;
});
- /* Probably, there's no way to actually pass this function our own
- * descriptor, but in case there is, don't replace our own descriptor. */
- if (router_is_me(router)) {
- routerinfo_free(router);
- return 0;
- }
-
/* If we have a router with this name, and the identity key is the same,
* choose the newer one. If the identity key has changed, and one of the
* routers is named, drop the unnamed ones. (If more than one are named,