diff options
author | Roger Dingledine <arma@torproject.org> | 2004-12-13 19:42:46 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-12-13 19:42:46 +0000 |
commit | b6173b7b684d290d10ce757ea285f96822252c6d (patch) | |
tree | d5cd0858b933efa7b7289c305de19522d7f6ba14 | |
parent | f6167de7e9131c901b5e99a5882d3e7de40eefa1 (diff) | |
download | tor-b6173b7b684d290d10ce757ea285f96822252c6d.tar.gz tor-b6173b7b684d290d10ce757ea285f96822252c6d.zip |
0.0.9 broke hibernation. darn it.
svn:r3147
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 8d60eef878..30fe73448d 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -549,7 +549,7 @@ int router_rebuild_descriptor(int force) { ri->address = tor_strdup(inet_ntoa(in)); ri->nickname = tor_strdup(options->Nickname); ri->addr = addr; - ri->or_port = hibernating ? 0 : options->ORPort; + ri->or_port = options->ORPort; ri->socks_port = hibernating ? 0 : options->SocksPort; ri->dir_port = hibernating ? 0 : options->DirPort; ri->published_on = time(NULL); |