summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c3
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] = '$';