commit 116dd4ae4fdf0a4699cafdae39b3cdb88f3512f6 Author: Nick Mathewson nickm@torproject.org Date: Mon Nov 28 16:07:13 2011 -0500
log a notice when disablenetwork is set --- src/or/config.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c index 20ade03..b08ed63 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1105,6 +1105,9 @@ options_act_reversible(const or_options_t *old_options, char **msg) } if (options->DisableNetwork) { /* Aggressively close non-controller stuff, NOW */ + log_notice(LD_NET, "DisableNetwork is set. Tor will not make or accept " + "non-control network connections. Shutting down all existing " + "connections."); connection_mark_all_noncontrol_connections(); } }