diff options
author | Roger Dingledine <arma@torproject.org> | 2005-06-09 08:54:42 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-06-09 08:54:42 +0000 |
commit | cfc89f875330c9cc015f745cb12c899352d39e43 (patch) | |
tree | 9fea23ce861cbf6190fbc8affcf8d5fea77f92e3 /src/or/connection.c | |
parent | 47fe49c2a034b6686be3e4a31cb3a4d14676d1d0 (diff) | |
download | tor-cfc89f875330c9cc015f745cb12c899352d39e43.tar.gz tor-cfc89f875330c9cc015f745cb12c899352d39e43.zip |
pay more attention to the ClientOnly config option
svn:r4367
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 263762f484..a87f27f8a8 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -824,7 +824,8 @@ static int retry_listeners(int type, struct config_line_t *cfg, int retry_all_listeners(int force) { or_options_t *options = get_options(); - if (retry_listeners(CONN_TYPE_OR_LISTENER, options->ORBindAddress, + if (server_mode(options) && + retry_listeners(CONN_TYPE_OR_LISTENER, options->ORBindAddress, options->ORPort, "0.0.0.0", force)<0) return -1; if (retry_listeners(CONN_TYPE_DIR_LISTENER, options->DirBindAddress, |