]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
log a notice when disablenetwork is set
authorNick Mathewson <nickm@torproject.org>
Mon, 28 Nov 2011 21:07:13 +0000 (16:07 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 28 Nov 2011 21:07:13 +0000 (16:07 -0500)
src/or/config.c

index 20ade03f0ffc79726bc2a8d12cbc3bf40334fb88..b08ed6399079c100143ef47f32bc5ab27a2d6766 100644 (file)
@@ -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();
     }
   }