aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-01-21 03:24:27 +0000
committerRoger Dingledine <arma@torproject.org>2009-01-21 03:24:27 +0000
commita5a6b9a08a76272ebef1d29202b74fcf76464f5f (patch)
treee6f609e78864d114963a9d05053759859e83da00 /src
parent90a5042aeb96049b41adb125197a898e7bebec33 (diff)
downloadtor-a5a6b9a08a76272ebef1d29202b74fcf76464f5f.tar.gz
tor-a5a6b9a08a76272ebef1d29202b74fcf76464f5f.zip
Let controllers actually ask for the "clients_seen" event. Bugfix
on 0.2.1.10-alpha; reported by Matt Edman. svn:r18201
Diffstat (limited to 'src')
-rw-r--r--src/or/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 0236d1ea88..571224188f 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -997,6 +997,8 @@ handle_control_setevents(control_connection_t *conn, uint32_t len,
event_code = EVENT_GUARD;
else if (!strcasecmp(ev, "STREAM_BW"))
event_code = EVENT_STREAM_BANDWIDTH_USED;
+ else if (!strcasecmp(ev, "CLIENTS_SEEN"))
+ event_code = EVENT_CLIENTS_SEEN;
else {
connection_printf_to_buf(conn, "552 Unrecognized event \"%s\"\r\n",
ev);