From 116dd4ae4fdf0a4699cafdae39b3cdb88f3512f6 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 28 Nov 2011 16:07:13 -0500 Subject: [PATCH] log a notice when disablenetwork is set --- src/or/config.c | 3 +++ 1 file changed, 3 insertions(+) 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(); } }