aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-28 16:07:13 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-28 16:07:13 -0500
commit116dd4ae4fdf0a4699cafdae39b3cdb88f3512f6 (patch)
tree43fd179655f1a86f2db18ca968d7c08f5616949f
parentf4d8ed4b28bd8f7ec232c02d0c9987c72ade89b5 (diff)
downloadtor-116dd4ae4fdf0a4699cafdae39b3cdb88f3512f6.tar.gz
tor-116dd4ae4fdf0a4699cafdae39b3cdb88f3512f6.zip
log a notice when disablenetwork is set
-rw-r--r--src/or/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 20ade03f0f..b08ed63990 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();
}
}