aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2021-05-17 09:04:22 -0400
committerNick Mathewson <nickm@torproject.org>2021-05-17 09:04:22 -0400
commitaf560f21ece5a7b077bf289d07f9a41163d915c4 (patch)
tree810e62b5e044c9f1a2f937b553b52343857a5f2c /src/core/mainloop/connection.c
parentd4718e4db9779ba11baf7ee07e093d0c9e6f6bae (diff)
parentfbd47a50783c79a553510091df09dce7632e02f6 (diff)
downloadtor-af560f21ece5a7b077bf289d07f9a41163d915c4.tar.gz
tor-af560f21ece5a7b077bf289d07f9a41163d915c4.zip
Merge branch 'maint-0.4.6'
Diffstat (limited to 'src/core/mainloop/connection.c')
-rw-r--r--src/core/mainloop/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 4832f25491..92755914ec 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -4943,6 +4943,7 @@ connection_is_listener(connection_t *conn)
conn->type == CONN_TYPE_AP_NATD_LISTENER ||
conn->type == CONN_TYPE_AP_HTTP_CONNECT_LISTENER ||
conn->type == CONN_TYPE_DIR_LISTENER ||
+ conn->type == CONN_TYPE_METRICS_LISTENER ||
conn->type == CONN_TYPE_CONTROL_LISTENER)
return 1;
return 0;