aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-13 15:33:46 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-15 11:17:22 -0500
commit2c15b6538123047c258987b00475fa658ca14878 (patch)
tree6a01a36619cd1df7228b9a50e20a15087d3e014e /src/feature/control/control.c
parentccbb36048f5167b9d5011b7c8b0d2c346ce567e8 (diff)
downloadtor-2c15b6538123047c258987b00475fa658ca14878.tar.gz
tor-2c15b6538123047c258987b00475fa658ca14878.zip
Make the NET_PARTICIPANT role dependent on user activity
This patch implements all of 28337, except for the part where we turn off the role if we've been idle for a long time.
Diffstat (limited to 'src/feature/control/control.c')
-rw-r--r--src/feature/control/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/control/control.c b/src/feature/control/control.c
index a5b6ab3bf5..1344d66a3d 100644
--- a/src/feature/control/control.c
+++ b/src/feature/control/control.c
@@ -1681,6 +1681,8 @@ static const struct signal_t signal_table[] = {
{ SIGNEWNYM, "NEWNYM" },
{ SIGCLEARDNSCACHE, "CLEARDNSCACHE"},
{ SIGHEARTBEAT, "HEARTBEAT"},
+ { SIGACTIVE, "ACTIVE" },
+ { SIGDORMANT, "DORMANT" },
{ 0, NULL },
};