From 350313d77a1b9dc20abae088ca9db7662dd8a80b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 13 Feb 2006 06:25:16 +0000 Subject: 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 --- src/or/connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/connection.c') 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; -- cgit v1.2.3