diff options
author | Roger Dingledine <arma@torproject.org> | 2004-03-04 01:53:56 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-03-04 01:53:56 +0000 |
commit | 89d9d80e7684d4e4fa813866be46f815c857c799 (patch) | |
tree | 8c3f1d555dcc5f7eba850442d966c47396d8b144 /src/or/routerlist.c | |
parent | b7633e2e67c66fd33f16918070f9565d4fa03c35 (diff) | |
download | tor-89d9d80e7684d4e4fa813866be46f815c857c799.tar tor-89d9d80e7684d4e4fa813866be46f815c857c799.tar.gz |
Store options->Address as IP, not hostname
And figure it out while reading config, not every time you
rebuild the descriptor
svn:r1226
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 19c0d70ef..2677d8bcd 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -377,7 +377,8 @@ router_resolve(routerinfo_t *router) rent = (struct hostent *)gethostbyname(router->address); if (!rent) { - log_fn(LOG_WARN,"Could not get address for router %s.",router->address); + log_fn(LOG_WARN,"Could not get address for router %s (%s).", + router->address, router->nickname); return -1; } assert(rent->h_length == 4); |