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.c2
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);