diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-04-18 23:32:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-04-18 23:32:02 -0400 |
commit | 074bf72a2cb9e641468b9ef92a8b16c7f0e2f00a (patch) | |
tree | b0bd0f43eefc33863b87b8eecfb7929e8a89a828 /src/or/connection.h | |
parent | e9dae1ff2e147d2b74fb1ce2836fb9c42f227af4 (diff) | |
download | tor-074bf72a2cb9e641468b9ef92a8b16c7f0e2f00a.tar.gz tor-074bf72a2cb9e641468b9ef92a8b16c7f0e2f00a.zip |
If DisableNetwork, don't even try to open non-controller listeners
Fix for 5604; bugfix on 0.2.3.9-alpha, which introduced DisableNetwork.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r-- | src/or/connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index c4b8bf8abe..bdeefa2549 100644 --- a/src/or/connection.h +++ b/src/or/connection.h @@ -64,7 +64,8 @@ int get_proxy_addrport(tor_addr_t *addr, uint16_t *port, int *proxy_type, const connection_t *conn); int retry_all_listeners(smartlist_t *replaced_conns, - smartlist_t *new_conns); + smartlist_t *new_conns, + int close_all_noncontrol); void connection_mark_all_noncontrol_listeners(void); void connection_mark_all_noncontrol_connections(void); |