mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
log a notice when disablenetwork is set
This commit is contained in:
parent
f4d8ed4b28
commit
116dd4ae4f
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user