diff options
author | Roger Dingledine <arma@torproject.org> | 2006-02-13 06:25:16 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-02-13 06:25:16 +0000 |
commit | 350313d77a1b9dc20abae088ca9db7662dd8a80b (patch) | |
tree | b1722b63b6331fcff7e81fd7e75eb618892e95ec /src/or/connection.c | |
parent | 1181ae61aef77aa505542433c801791b9b13a522 (diff) | |
download | tor-350313d77a1b9dc20abae088ca9db7662dd8a80b.tar tor-350313d77a1b9dc20abae088ca9db7662dd8a80b.tar.gz |
Let the users set ControlListenAddress in the torrc.
This can be dangerous, but there are some cases (like a secured
LAN) where it makes sense.
svn:r5997
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 7d50d7e03..fde66b858 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -973,7 +973,8 @@ retry_all_listeners(int force, smartlist_t *replaced_conns, options->SocksPort, "127.0.0.1", force, replaced_conns, new_conns)<0) return -1; - if (retry_listeners(CONN_TYPE_CONTROL_LISTENER, NULL, + if (retry_listeners(CONN_TYPE_CONTROL_LISTENER, + options->ControlListenAddress, options->ControlPort, "127.0.0.1", force, replaced_conns, new_conns)<0) return -1; |