diff options
Diffstat (limited to 'src/or/router.c')
-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); |