summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorMatej Pjafjar <badbytes@freehaven.net>2002-07-10 12:35:59 +0000
committerMatej Pjafjar <badbytes@freehaven.net>2002-07-10 12:35:59 +0000
commitf07ade30466ffaedef9d0fb50bd2c6084b9e0ed4 (patch)
treeb9f4467c3673e4975fda050a04ce43db100e40f3 /src/or/main.c
parentce934e49744bca890e00ad3d39c943db429c7f68 (diff)
downloadtor-f07ade30466ffaedef9d0fb50bd2c6084b9e0ed4.tar.gz
tor-f07ade30466ffaedef9d0fb50bd2c6084b9e0ed4.zip
getrouters() changed so that a router ignores its own entry in the router list
svn:r34
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index b81ca2a464..6b9cfecbc8 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -302,7 +302,7 @@ int do_main_loop(void) {
int i;
/* load the routers file */
- router_array = getrouters(options[RouterFile].r.str,&rarray_len);
+ router_array = getrouters(options[RouterFile].r.str,&rarray_len, options[ORPort].r.i);
if (!router_array)
{
log(LOG_ERR,"Error loading router list.");